Paul Ouellette
|
e6506bd408
|
Update completion tests
|
2019-07-20 09:20:57 -04:00 |
|
Paul Ouellette
|
8d258186c6
|
Fish completions improvement
|
2019-07-20 09:19:58 -04:00 |
|
Paul Ouellette
|
461f2bd2e5
|
Completion clean ups
|
2019-07-18 22:17:09 -04:00 |
|
Paul Ouellette
|
b265bf58d1
|
Zsh completions: return 1 if no completions
|
2019-07-18 16:26:32 -04:00 |
|
Paul Ouellette
|
397c1fd739
|
Zsh completions: complete multiple option arguments
|
2019-07-18 16:26:32 -04:00 |
|
Paul Ouellette
|
11ae9b8bdf
|
Remove Parser._help_command
|
2019-07-18 16:26:32 -04:00 |
|
Paul Ouellette
|
d747e69a55
|
Zsh completions: complete positional arguments
- Completes choices is they exist, otherwise calls _files
- Supports repeated arguments
|
2019-07-18 16:22:02 -04:00 |
|
Paul Ouellette
|
b7be8cd99a
|
Zsh completions: complete commands and command options
Supports an arbitrary number of nested subcommands.
|
2019-07-18 16:21:44 -04:00 |
|
Paul Ouellette
|
c2b2a16abe
|
Zsh completions: Improve option completion
- support arguments with choices
- allow invoking an option multiple times
- complete files if an argument is required, but no choices are
specified
|
2019-07-18 16:21:23 -04:00 |
|
Paul Ouellette
|
c545e49701
|
Prevent generation of broken completion scripts
|
2019-07-17 22:04:41 -04:00 |
|
Paul Ouellette
|
56716617a2
|
Add support for a completion subcommand
|
2019-07-17 22:04:41 -04:00 |
|
Paul Ouellette
|
0eac53893b
|
Normalize IFS
|
2019-07-17 22:04:41 -04:00 |
|
Paul Ouellette
|
3a0e7a2706
|
Zsh completion improvements
|
2019-07-01 23:03:49 -04:00 |
|
Paul Ouellette
|
e9ee89eed5
|
Initial get_zsh_complete with support for options
|
2019-06-24 18:03:09 -04:00 |
|
Paul Ouellette
|
4f99e3dce0
|
Add trailing newline to output of complete functions
|
2019-06-19 14:58:55 -04:00 |
|
Paul Ouellette
|
188fb9d8ac
|
Use command summaries in completion descriptions
|
2019-06-18 12:15:56 -04:00 |
|
Paul Ouellette
|
56364ff50f
|
Use saved help command instead of index
|
2019-06-18 12:02:24 -04:00 |
|
Paul Ouellette
|
bcce0fcdcf
|
Small improvements to bash completions
|
2019-06-18 11:57:03 -04:00 |
|
Paul Ouellette
|
ab7717898c
|
Add tests for bash completions
|
2019-06-18 11:57:03 -04:00 |
|
Paul Ouellette
|
f18902eb4c
|
Complete options if current word starts with dash
|
2019-06-18 11:57:03 -04:00 |
|
Paul Ouellette
|
5b733ba50a
|
Make add_complete a Parser method
|
2019-06-18 11:57:03 -04:00 |
|
Paul Ouellette
|
03e7daf31f
|
Bash completions: complete option argument choices
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
9738045e18
|
Implement Parser:get_bash_complete
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
46622e83de
|
Remove support for disabling completion option
It is disabled by default
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
d5e15583b8
|
Add tests for fish completions
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
c96637b1d7
|
Return completions as a string in get function
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
8e04dc6eca
|
Show first sentence of description in option completion
|
2019-06-18 11:53:58 -04:00 |
|
Paul Ouellette
|
b893c9bad1
|
Finish fish completion generator
|
2019-06-18 11:50:28 -04:00 |
|
Paul Ouellette
|
0709c814e7
|
Implement add_complete and fish option completion
|
2019-06-18 11:50:28 -04:00 |
|
daurnimator
|
56e0d68fe1
|
Merge remote-tracking branch 'luarocks/refs/pull/5/head'
|
2019-06-18 00:08:08 -07:00 |
|
daurnimator
|
12abc2765b
|
Merge remote-tracking branch 'luarocks/refs/pull/6/head'
|
2019-06-18 03:29:22 +10:00 |
|
Paul Ouellette
|
b717d7b11c
|
Add summary command property
|
2019-06-17 13:21:11 -04:00 |
|
Paul Ouellette
|
4509f8f29d
|
Make add_help_command a Parser method
|
2019-06-17 11:11:26 -04:00 |
|
daurnimator
|
e30288c54a
|
Merge remote-tracking branch 'luarocks/refs/pull/3/head'
|
2019-05-31 22:40:18 +10:00 |
|
daurnimator
|
77949d9641
|
Merge remote-tracking branch 'luarocks/refs/pull/4/head'
|
2019-05-31 22:40:02 +10:00 |
|
Paul Ouellette
|
ec3d22f499
|
Add example for option with argument choices
|
2019-05-30 13:55:13 -04:00 |
|
Paul Ouellette
|
a8faa0b092
|
Show choices in help and usage messages
|
2019-05-30 13:55:13 -04:00 |
|
Paul Ouellette
|
dcd5162710
|
Add argument choices
|
2019-05-30 13:55:13 -04:00 |
|
Paul Ouellette
|
16c979220b
|
Remove duplicate test
|
2019-05-30 13:26:58 -04:00 |
|
daurnimator
|
d08b637d54
|
Merge remote-tracking branch 'luarocks/refs/pull/1/head'
|
2019-05-29 00:04:42 +10:00 |
|
Paul Ouellette
|
7981df63da
|
Make error message more consistent
|
2019-05-26 23:49:38 -04:00 |
|
Paul Ouellette
|
d3cc9f24a5
|
Add documentation for add_help_command
|
2019-05-25 14:37:04 -04:00 |
|
Paul Ouellette
|
24398b67ce
|
Add tests for help command
|
2019-05-25 00:24:49 -04:00 |
|
Paul Ouellette
|
55acc1689c
|
Fix tests broken due to change in help flag order
|
2019-05-24 22:48:27 -04:00 |
|
Paul Ouellette
|
6e3c4d5305
|
Implement add_help_command parser property
Like add_help, but it adds a command instead of a flag.
|
2019-05-22 21:59:32 -04:00 |
|
Paul Ouellette
|
c5af087ad0
|
Save index of help option
Instead of keeping it at the end of the options list.
|
2019-05-22 16:41:58 -04:00 |
|
Peter Melnichenko
|
412e6aca39
|
Actual 0.6.0 release
Fix 0.6.0 release date in changelog.
|
2018-04-13 22:14:05 +03:00 |
|
Peter Melnichenko
|
8df87ca3f0
|
0.6.0 release
|
2018-04-13 22:04:45 +03:00 |
|
Peter Melnichenko
|
3b173daf9f
|
Menition argparse.version in changelog and docs
|
2018-04-13 22:03:42 +03:00 |
|
Peter Melnichenko
|
446280b776
|
Update scm rockspec
|
2018-04-13 21:59:13 +03:00 |
|