9070806f8d
refactor: deal with err from ShowSubcommandHelp
2021-08-02 05:58:47 +01:00
bb1eb372ef
refactor: stack func to client, mv app to new file
...
Stack interaction is now under client.
App types and functions moved from env to app under config
2021-08-02 05:51:58 +01:00
d777eb2af1
refactor(style): errs should not start with upper
2021-08-02 04:20:02 +01:00
a3f574a8fa
refactor: app new cmd to be easier to read
2021-08-02 04:18:20 +01:00
30d11f48a7
refactor: break up cli pkg into nice small chunks
2021-08-02 02:10:41 +01:00
c2f53e493e
deps: upgraded hcloud-go to direct dep
2021-08-02 01:10:19 +01:00
dc4e490497
refactor(style): error str shouldnt be capitalized
2021-08-02 01:09:25 +01:00
ffd1b3a771
refactor: function rename
...
`errorExit` renamed to `showSubcommandHelpAndError`
2021-08-02 01:08:17 +01:00
8267d4202b
feat: function to display help, error, & exit
2021-08-02 00:57:11 +01:00
d74b7636a1
WIP make a start on the hetzner command
2021-08-02 01:54:16 +02:00
9d621404fd
fix: avoid runtime error when list is empty
2021-08-02 00:37:23 +01:00
4ae5e6123d
refactor: add specific check for missing context
2021-08-02 01:06:41 +02:00
19d435c5e5
feat: implement server init
2021-08-02 01:03:27 +02:00
6be54c670a
fix: error out if missing server arg
2021-08-02 00:37:25 +02:00
a1bce4661b
docs: server CLI documentation
2021-08-02 00:30:03 +02:00
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
1846f965ec
docs: mark this as done
2021-08-02 00:13:58 +02:00
805defec09
docs(comment): updated comment to be upto date
2021-07-31 21:25:32 +01:00
f958b888b6
fix: TestReadEnv test due to refactor
2021-07-31 21:08:50 +01:00
1768809872
chore: add vendor folder to gitignore
2021-07-31 21:02:17 +01:00
8abc47d2e0
docs: some README love
2021-07-31 19:13:59 +02:00
bf7de84c66
chore: upgrade godotenv fork for multiline support
...
Also ran `go mod tidy`.
2021-07-31 19:03:31 +02:00
760ac495b3
fix: handle error for reading apps
2021-07-31 18:47:32 +02:00
4d12a75494
docs: more specifics in TODO file
2021-07-31 16:17:06 +02:00
1442c71911
docs: mark that one as not in progress
2021-07-31 15:50:50 +02:00
e4c864a60c
docs: mark that one as done
2021-07-31 15:50:23 +02:00
42968fb8e1
feat: finally implement app new command
2021-07-31 15:50:04 +02:00
932803453e
WIP: still hacking on the app new command
...
Finally had to fork godotenv because it strips comments and we need
those to parse length values (e.g. "FOO=v1 # length=10") (or in other
words, motivation to move to the YAML format).
There is a new secret module now, with functionality for dealing with
generation and parsing of secrets.
The final output needs some work and there is also the final step of
implementing the sending of secrets to the docker daemon. Coming Soon
™️ .
2021-07-31 12:49:22 +02:00
5771f6c158
WIP another pass on the app new command
2021-07-30 22:55:00 +02:00
e728bcd7ac
docs: CLI flag docs and rewording of usage
2021-07-30 22:54:30 +02:00
769c5b899b
refactor: abstract secret generation into package
2021-07-30 22:53:51 +02:00
f56ddef6c8
WIP: another step further into app new command
2021-07-30 20:14:17 +02:00
ac6b8ab147
chore(deps): upgrade containerd 1.5.3 -> 1.5.5
2021-07-30 16:34:06 +01:00
a581049cf1
refactor: simplify for loop
2021-07-30 16:32:06 +01:00
58bdb456df
refactor: use variable to make more readable
2021-07-30 17:09:23 +02:00
d97da9f45c
fix: use correct path for checking app path
2021-07-30 17:07:51 +02:00
064a0f271f
WIP: further process on app new command
2021-07-30 13:16:28 +02:00
6c36e77722
docs: add 3rd party integration TODOs
2021-07-29 12:32:16 +02:00
d422902e09
WIP: spec out first steps for app new command
2021-07-29 12:26:11 +02:00
e4ed2aeebf
docs: better wording
2021-07-28 22:13:05 +02:00
f7b085dfa2
feat: add abra dir creation function
2021-07-28 22:10:42 +02:00
1187d6bfd5
refactor: move catalogue logic into own package
2021-07-28 22:10:13 +02:00
bf0212c520
docs: more flag aliases (for app new command)
2021-07-28 14:27:23 +02:00
de3ea8188e
WIP spec out app new command
2021-07-28 14:26:37 +02:00
bf7d437571
docs: more CLI documentation
2021-07-28 13:56:18 +02:00
1ee572363a
chore: mark command as in-progress
2021-07-28 11:30:30 +02:00
2c1b8ee7e2
docs: document flags for app new command
2021-07-28 11:30:14 +02:00
622e0127ea
docs: fill out app listing CLI docs
2021-07-28 11:29:59 +02:00
d581d3313a
docs: add missing command and drop prefix
2021-07-27 21:40:09 +02:00
0e75350985
feat: prototype for app listing
2021-07-27 21:25:08 +02:00