Commit Graph

16 Commits

Author SHA1 Message Date
Roxie Gibson 30d11f48a7
refactor: break up cli pkg into nice small chunks 2021-08-02 02:10:41 +01:00
Roxie Gibson dc4e490497
refactor(style): error str shouldnt be capitalized 2021-08-02 01:09:25 +01:00
decentral1se d74b7636a1
WIP make a start on the hetzner command 2021-08-02 01:54:16 +02:00
decentral1se 4ae5e6123d
refactor: add specific check for missing context 2021-08-02 01:06:41 +02:00
decentral1se 19d435c5e5
feat: implement server init 2021-08-02 01:03:27 +02:00
decentral1se 6be54c670a
fix: error out if missing server arg 2021-08-02 00:37:25 +02:00
decentral1se a1bce4661b
docs: server CLI documentation 2021-08-02 00:30:03 +02:00
decentral1se 8a5ee68b7b
refactor: drop alias command
Save us some work and avoid confusion on two things doing the same thing
under different top-level sub-commands (this was just an experiment
after all).
2021-08-02 00:20:39 +02:00
decentral1se 429c7e4e50
docs: take a pass on CLI usage docs and add ASCII 2021-07-26 23:58:34 +02:00
Roxie Gibson dfc91a86a1
feat: WIP server rm command
continuous-integration/drone/push Build is passing Details
2021-07-22 17:38:44 +01:00
Roxie Gibson fc7dade6f8
feat: server add command
continuous-integration/drone/push Build is passing Details
Interacts with and stores infomaton in the docker store at ~/.docker

Equivalent to docker context add
2021-07-22 12:48:14 +01:00
decentral1se a74d214121
docs: use hyphen shortname and trim message
continuous-integration/drone/push Build is passing Details
2021-07-21 00:19:06 +02:00
Roxie Gibson cfe2f70151
refactor: moving logging to command functions
easier to unit test our util commands like this
2021-07-19 12:47:46 +01:00
Roxie Gibson 37c06c82bf
feat: added error to GetContextEndpoint
continuous-integration/drone/push Build is passing Details
this ill make the progam not fail if there is a non-docker swarm context
2021-07-18 06:34:22 +01:00
Roxie Gibson 38f610bdec
feat: abra server ls
continuous-integration/drone/push Build is passing Details
WE DID IT! The first actual command to be ported.

Code is still a mess in terms of UX but its a milestone!
2021-07-18 04:21:26 +01:00
Roxie Gibson 9a0bd6dc11
refactor(cli): moved commands and cli out of main 2021-07-15 03:44:07 +01:00