Releases: luarocks/argparse
Releases · luarocks/argparse
0.7.2
What's Changed
- added GitHub CI and other minor edits eyeing Lua 5.5 by @luau-project in #34
- rockspec: bump max lua version by @Aire-One in #33
New Contributors
- @luau-project made their first contribution in #34
- @Aire-One made their first contribution in #33
Full Changelog: 0.7.1...0.7.2
0.7.1
Tested with Lua 5.4
New features
- Hidden aliases can be added to an option or command by setting the
hidden_nameproperty
0.7.0
New features
- Added support for generating shell completion scripts for Bash, Zsh, and Fish using the Parser methods
:get_bash_complete(),:get_zsh_complete(), and:get_fish_complete(). The Parser methods:add_complete()and:add_complete_command()add a--completionoption orcompletioncommand to the parser. - Added
:add_help_command()method to Parser and Command objects. The help command shows help for the specified subcommand. - Added
choicesoption and argument property for specifying a set of acceptable values for the argument. - Added
summarycommand property for specifying the description shown in the parent parser's help message.
Improvements
- The location of the help flag in usage and help messages is now determined by when it is added to the parser, rather than always being the last option. By default it is now the first option.