Releases: skx/subcommands
v0.9.2
This release updates the integrated TAB-completion, such that running completion for the help
sub-command will only show valid subcommands.
For example:
$ aws-utils help wh[TAB]
whitelist-self whoami
Because we can be used for a lot of purposes our tab-completion is a bit inflexible, it completes the name of a valid sub-command, then files/directories. That's probably the best we can do without forcing users to define the kinds of completion they want - but completing on sub-commands is a trivial improvement which is worth making regardless.
v0.9.1
v0.9.0
v0.9.0
Update our TAB-completion so that we default to completing flags or files, for the second argument.
This more closely reflects how I use the library, for example sysbox validate-json [file/path/here]
, and I expect this is more generally useful to others too.
v0.8.0
v0.7.0
v0.7.0
This release adds a commands
sub-command, which is useful for bash-completion.
Please see this example for a good example of using this.