Hey, so I am trying to adapt the help output to what I see the Click Python framework doing. You then need to run --help against the commands to find out their options. We'll have to implement that via getopt/copy+pasta or whatever.
Let me know what you think!
Example is:
➜ abra (new-help) ✔ ./abra --help
Usage: abra [OPTIONS] COMMAND [ARGS]...
Options:
--config Stack configuration to use
--env Environment variables to load
--help Show this message and exit
--stack Name of the target stack
--version Show program version
Commands:
context manage remote swarm contexts
cp copy files to a container
deploy let 'em rip
logs tail logs from a deployed service
multilogs tail logs from a whole stackk
run run a command in the specified service's container
secret manage secrets
upgrade upgrade to the latest version
Hey, so I am trying to adapt the help output to what I see the Click Python framework doing. You then need to run `--help` against the commands to find out their options. We'll have to implement that via getopt/copy+pasta or whatever.
Let me know what you think!
Example is:
```
➜ abra (new-help) ✔ ./abra --help
Usage: abra [OPTIONS] COMMAND [ARGS]...
Options:
--config Stack configuration to use
--env Environment variables to load
--help Show this message and exit
--stack Name of the target stack
--version Show program version
Commands:
context manage remote swarm contexts
cp copy files to a container
deploy let 'em rip
logs tail logs from a deployed service
multilogs tail logs from a whole stackk
run run a command in the specified service's container
secret manage secrets
upgrade upgrade to the latest version
```
decentral1se
changed title from First stab at new help to Adapt --help output to Click-like format2020-10-22 19:20:50 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hey, so I am trying to adapt the help output to what I see the Click Python framework doing. You then need to run
--helpagainst the commands to find out their options. We'll have to implement that via getopt/copy+pasta or whatever.Let me know what you think!
Example is:
First stab at new helpto Adapt --help output to Click-like formatAwesome! I think I can build on this and the
sub_secret_helppattern to get some nice per-subcommand / per-sub-subcommand help 👌