abra server
interface is confusing?
#34
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
I'm thinking that
abra server new hetzner
andabra server rm
are confusing sincenew
creates a server butrm
deletes a local docker context? Alsoadd
vs.new
is like, two vague terms that can be easily be confused and I literally never remember myself.ls
/add
/rm
are all local only,new
/init
do something on a remote.Anyone feeling the same? We can handle UI/UX after we reach feature parity I guess.
Guessing at alternatives:
abra server
:list
/ls
: list all managed VPSscreate
/mk
: create VPS (hetzner, capsul, etc.)remove
/del
/rm
: delete VPS (hetzner, capsul, etc.)config
/cfg
: configure connection details for VPS (SSH username/port/etc.)provision
/prv
: install docker/swarm/networking on VPSIt looks like
go-abra
can do everything now so end-users won't even have to install Docker locally on their dev machines, they'll just need our binary! So, the "docker context" becomes something of an implementation detail and doesn't need to be directly handled? We just need SSH connection details now and we build the context connection string ourselves internally.I'd like to merge
add
/new
into a singlecreate
? If you want a new server, then youabra server create ...
and if you have one already and just want to "register" it withgo-abra
then youabra server create --existing
and thenabra server config
to adjust SSH details?Hmmm maybe
add
/new
can't be merged?create --existing
is quite gross actually.