CLI UX scratchpad #21
Labels
No Label
breaking-change
bug
CI/CD
design
documentation
duplicate
enhancement
help wanted
invalid
plugin
question
secrets
shell-completion
versioning
wontfix
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#21
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following autonomic-cooperative/abra#20
I am thinking of what can be a small understandable public interface for abra for the alpha-early-adopters-launch. Just to get us started. This doesn't mean we remove functionality, we just only show certain things as public while we're figuring the rest out.
First stab (some of this functionality doesnt exist yet):
I am thinking of the very alpha-testing usage mode here. You can deploy an app, tail the logs to check it is up. Back the thing up. Upgrade it. Check status of it. Then delete it. You use the server command to manage multiple servers.
Thoughts?
Current commands:
Proposed commands:
(down to add
backup
-- and arestore
? -- /upgrade
/status
when we work out how)I made a start, renaming
context
toserver
.16a0988
Some thoughts:
abra server init
do?abra server use ...
to pick one too?utils
as a pretty ambiguous header, just high-level that stuff under it?Basically makes sure swarm mode is enabled and the
proxy
network exists.Unsure.
I was hoping to maybe avoid the "run a command, then all subsequent docker commands you run, including the command to find out which server you're targeting, run on the remote server" Docker model, by storing app configs in the right server folder as you suggested, but if we diverge it might confuse people who are used to it.
docker context use
has a pretty simple user interface so it doesn't seem suuuuuper necessary to have our own.Short-term I'm happy to keep it in tho.
Ah right I think I missed you were suggesting keeping other stuff but not listing it in basic usage instructions. Maybe
--help-all
to list everything?Ahhhh gotcha, yes, perfect!
👍
OK, I've been following the
git
example (i know, i know, but hear me out) and actuallygit --help
is really quite instructive. As long as we don't end up calling any of our subcommandsreflog
or whatever haha.See #18 (comment).
OK, gonna close this off, think we're on a good track now.