Releases: Yord/shargs-repl
Releases · Yord/shargs-repl
0.7.4
Bugfixes
- Fix a bug where the autocompletion suggested all positional arguments instead of only the next unused one.
0.7.3
Bugfixes
- Fix a bug where autocomplete would make too many suggestions if the last argument was a positional argument.
0.7.2
Notable Changes
- Swap the position of only and descArg fields during autocomplete: Now, if both fields are present, only fields are preferred.
0.7.1
Bug Fixes
- Fix a bug where a complete positional argument was still autocompleted. Thanks to @AndreMaz for reporting the issue!
0.7.0
Bug Fixes
- Fix a case where reporting an error if a command was missing did not work if the rest field
_
was removed from args
.
0.6.4
Notable Changes
- Report an error if a command is not found.
0.6.3
Notable Changes
- Added autocompletion for options with only fields.
0.6.2
Bug Fixes
- The default action is now called if no subcommand is found.
0.6.1
Notable Changes
- A
defaultAction
field was added to replF
, replSync
, and repl
options. It takes an action that is called if a command is not found, or if a given command has no action
field defined.
0.6.0
Bug Fixes
- Fixes a bug where '--' would stop working if options starting with '--' were defined. Now, '-- ' (with a trailing white space) triggers displaying all options.