Skip to content

Releases: Yord/shargs-repl

0.7.4

03 Jan 15:31
Compare
Choose a tag to compare

Bugfixes

  • Fix a bug where the autocompletion suggested all positional arguments instead of only the next unused one.

0.7.3

27 Sep 10:51
Compare
Choose a tag to compare

Bugfixes

  • Fix a bug where autocomplete would make too many suggestions if the last argument was a positional argument.

0.7.2

27 Sep 10:26
Compare
Choose a tag to compare

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

04 Sep 17:41
Compare
Choose a tag to compare

Bug Fixes

  • Fix a bug where a complete positional argument was still autocompleted. Thanks to @AndreMaz for reporting the issue!

0.7.0

11 Jul 14:39
Compare
Choose a tag to compare

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

11 Jul 14:39
Compare
Choose a tag to compare

Notable Changes

  • Report an error if a command is not found.

0.6.3

11 Jul 14:39
Compare
Choose a tag to compare

Notable Changes

  • Added autocompletion for options with only fields.

0.6.2

07 Jul 08:21
Compare
Choose a tag to compare

Bug Fixes

  • The default action is now called if no subcommand is found.

0.6.1

07 Jul 07:31
Compare
Choose a tag to compare

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

06 Jul 10:06
Compare
Choose a tag to compare

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.