Commit Graph

81 Commits

Author SHA1 Message Date
3wc
50ca4f8029 Tighten up options for secret commands 2020-10-30 18:24:22 +02:00
3wc
0433da3689 Fix subcommand -> function mapper 2020-10-30 18:17:06 +02:00
3wc
3e0b9e9475 Working completion app and server 2020-10-30 17:52:47 +02:00
3wc
c6b841de6c First stab 2020-10-30 17:52:47 +02:00
3wc
2daffc8694 Use bash select, tweak args 2020-10-30 17:52:46 +02:00
Luke Murphy
b15a214049
WIP: app secret rm 2020-10-30 02:09:59 +01:00
Luke Murphy
8d7194fcce
Add quotes 2020-10-30 00:39:24 +01:00
Luke Murphy
dbfe6f8097
Add initial CLI parsing for secret deletion 2020-10-30 00:32:03 +01:00
Luke Murphy
26b994ab84
Add --pass for new apps command
See coop-cloud/abra#25.
2020-10-30 00:04:53 +01:00
3wc
dba3c391bd Handle missing tput gracefully 2020-10-29 19:40:19 +02:00
3wc
5a72ed0cfb Make config more chill, small gardening 2020-10-29 19:39:51 +02:00
3wc
85b8a4f459 Add config command 2020-10-29 19:35:59 +02:00
3wc
6e38dc35e5 Fix run subcommand 2020-10-29 19:35:57 +02:00
Luke Murphy
841e4fc61a
Explode if can't clone the app 2020-10-28 18:24:28 +01:00
Luke Murphy
c1d12eacc5
Fix typo 2020-10-28 18:24:15 +01:00
Luke Murphy
3b730d314b
Use basename when listing servers for abra new 2020-10-28 18:05:53 +01:00
Luke Murphy
5df3a9fffb
Account for 0 or 1 servers 2020-10-28 17:33:48 +01:00
Luke Murphy
3e3fe0e349
Create under servers directory 2020-10-28 17:32:38 +01:00
Luke Murphy
db766f4aec
Don't explode if you already have the context 2020-10-28 17:32:30 +01:00
3wc
8909a46d8c Add --force option to app .. delete 2020-10-28 01:52:27 +02:00
3wc
8d139d4d28 Add undeploy/delete commands
Ref #4
2020-10-28 01:40:35 +02:00
3wc
b6b80298c2 Add .. secret auto command 2020-10-28 00:29:40 +02:00
3wc
b1e8ac4498 Local server list, more tidying 2020-10-27 23:46:03 +02:00
3wc
c5785089d6 Tidy up CLI commands, add app list 2020-10-27 21:38:20 +02:00
3wc
bec3272a41 .abra dir, abra new
Closes #24

Ref #21
2020-10-27 17:58:34 +02:00
Luke Murphy
dc3b772b72
Use server naming 2020-10-26 18:40:04 +01:00
Luke Murphy
07d4f8cbdf
Remove abra.yml / yq stuff for now 2020-10-26 18:36:28 +01:00
Luke Murphy
37c59a53ef
Drop interactive flags 2020-10-26 18:31:03 +01:00
Luke Murphy
cc060b8546
Fix error code 2020-10-26 18:02:24 +01:00
Luke Murphy
e6458e5e60
Update parser once more 2020-10-26 17:30:37 +01:00
Luke Murphy
9580199616
Remove extra secrets help 2020-10-26 17:19:32 +01:00
3wc
b59e902d18 Fix logs, cp, `multilogs
Ref #18
2020-10-26 16:55:43 +02:00
3wc
c50b1d8760 Goodbye, parse_subcommand! 👋
Ref #18
2020-10-26 16:08:15 +02:00
3wc
b49b510c43 Load custom commands in a function 2020-10-26 13:46:54 +02:00
3wc
b68bfdfb43 Regnerate Docopt 2020-10-26 13:35:58 +02:00
3wc
983e4af08c Use docopts variables
Ref #18
2020-10-26 13:34:49 +02:00
3wc
6cf7cf843a Update server subcommands 2020-10-26 13:34:30 +02:00
3wc
d37d8a0c66 Add default --tail option to abra logs 2020-10-26 13:33:56 +02:00
Luke Murphy
a13e58c6c0
Finally work out subcommands 2020-10-26 10:05:03 +01:00
Luke Murphy
44c41830a7
Finalise docopt parser integration 2020-10-26 09:46:14 +01:00
Luke Murphy
ae6c2c26ae
A first stab at docopt-sh integration 2020-10-25 21:41:17 +01:00
3wc
16a09887e6 Rename abra context to abra server 2020-10-23 05:02:39 +02:00
3wc
b7757b51b1 Fix abra run if there are 2 containers up 2020-10-23 03:58:55 +02:00
Luke Murphy
f15dfd9f5f
First stab at new help 2020-10-22 21:16:30 +02:00
3wc
66dcaedfd0 Add stack and volume as shortcuts to docker 2020-10-06 20:27:50 +02:00
3wc
6598aabc37 Work even if a local path contains $SERVICE 2020-10-01 01:08:29 +02:00
3wc
6759e6a175 Show multiple COMPOSE_FILEs better
Fixes #16
2020-09-29 00:17:26 +02:00
3wc
8735362580 Load custom commands from $ABRA_STACK_DIR too 2020-09-28 15:02:18 +02:00
3wc
7223dca951 Re-enable running commands as another user
Fixes #14
2020-09-27 23:45:39 +02:00
3wc
dd9444b036 Add context init command to set up remote swarm 2020-09-27 13:26:27 +02:00