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 hetznerandabra server rmare confusing sincenewcreates a server butrmdeletes a local docker context? Alsoaddvs.newis like, two vague terms that can be easily be confused and I literally never remember myself.ls/add/rmare all local only,new/initdo 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-abracan 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/newinto 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-abrathen youabra server create --existingand thenabra server configto adjust SSH details?Hmmm maybe
add/newcan't be merged?create --existingis quite gross actually.