Commit Graph

  • 27967d7b52 0.7.1 release master daurnimator 2020-07-08 11:17:13 +10:00
  • 3144e8518a rockspec: bump max lua version daurnimator 2020-07-05 19:43:43 +10:00
  • 5559abd73e Merge pull request #13 from pauloue/hidden_aliases Hisham Muhammad 2020-01-14 15:34:46 -03:00
  • 20c14453fd Add hidden command and option aliases Paul Ouellette 2019-12-13 21:46:43 -05:00
  • ad404c06ec Update docsrc/conf.py for 0.7.0 release daurnimator 2019-08-15 14:15:51 +10:00
  • 6f28a24ed3 0.7.0 release Paul Ouellette 2019-08-14 21:33:23 -04:00
  • f72c10d21a Update order of help option in docs Paul Ouellette 2019-08-14 21:32:34 -04:00
  • 70bfe6c31f Fix luacheck line-too-long warning daurnimator 2019-08-13 19:06:23 +10:00
  • 5fa460d22f update URLs to point at luarocks fork daurnimator 2019-08-13 18:52:38 +10:00
  • e6e8fa3f9c Merge remote-tracking branch 'luarocks/refs/pull/12/head' daurnimator 2019-08-13 18:07:45 +10:00
  • ff9c838e45 Bash completions: add support for nested commands Paul Ouellette 2019-08-07 23:39:50 -04:00
  • 0b081a1838 Fish completions: fully support nested commands Paul Ouellette 2019-08-07 18:51:38 -04:00
  • abf07e978d Zsh completions: escape ` and $ in descriptions Paul Ouellette 2019-07-30 00:20:59 -04:00
  • 52bdc8fa41 Merge remote-tracking branch 'luarocks/refs/pull/11/head' daurnimator 2019-07-30 10:51:16 +10:00
  • 5a13f0bd06 Fix bash completion error Paul Ouellette 2019-07-29 20:35:38 -04:00
  • edfac5d89a Merge remote-tracking branch 'luarocks/refs/pull/9/head' daurnimator 2019-07-27 18:40:55 +10:00
  • a7d37b8065 Zsh completions: complete main command options after subcommands Paul Ouellette 2019-07-26 23:31:09 -04:00
  • 846c768df9 Merge remote-tracking branch 'luarocks/refs/pull/2/head' daurnimator 2019-07-26 12:27:43 +10:00
  • c9f8f90a60 Completions: improve documentation Paul Ouellette 2019-07-25 11:07:39 -04:00
  • f598e21376 Add documentation for completions Paul Ouellette 2019-07-24 11:29:30 -04:00
  • 9055452e41 Zsh completions: use #compdef <program> Paul Ouellette 2019-07-24 11:06:58 -04:00
  • 5f0cf3721e Completions: validate/escape some missed things Paul Ouellette 2019-07-23 17:46:16 -04:00
  • a0c5ddf102 Update completion tests Paul Ouellette 2019-07-23 15:06:16 -04:00
  • 56e81ad786 Use the base name for completions Paul Ouellette 2019-07-23 15:03:35 -04:00
  • d61b5e4f3d Replace _aliases[1] with equivalent _name Paul Ouellette 2019-07-23 01:45:49 -04:00
  • 146dcd4ecd Fix Parser:_is_shell_safe Paul Ouellette 2019-07-22 17:37:25 -04:00
  • e6506bd408 Update completion tests Paul Ouellette 2019-07-20 09:20:32 -04:00
  • 8d258186c6 Fish completions improvement Paul Ouellette 2019-07-20 09:19:58 -04:00
  • 461f2bd2e5 Completion clean ups Paul Ouellette 2019-07-18 22:17:09 -04:00
  • b265bf58d1 Zsh completions: return 1 if no completions Paul Ouellette 2019-07-18 16:19:01 -04:00
  • 397c1fd739 Zsh completions: complete multiple option arguments Paul Ouellette 2019-07-18 16:16:58 -04:00
  • 11ae9b8bdf Remove Parser._help_command Paul Ouellette 2019-07-17 23:40:47 -04:00
  • d747e69a55 Zsh completions: complete positional arguments Paul Ouellette 2019-07-13 18:42:37 -04:00
  • b7be8cd99a Zsh completions: complete commands and command options Paul Ouellette 2019-07-13 16:00:22 -04:00
  • c2b2a16abe Zsh completions: Improve option completion Paul Ouellette 2019-07-09 00:24:44 -04:00
  • c545e49701 Prevent generation of broken completion scripts Paul Ouellette 2019-07-04 13:20:01 -04:00
  • 56716617a2 Add support for a completion subcommand Paul Ouellette 2019-07-03 17:35:40 -04:00
  • 0eac53893b Normalize IFS Paul Ouellette 2019-07-02 22:37:09 -04:00
  • 3a0e7a2706 Zsh completion improvements Paul Ouellette 2019-07-01 23:03:49 -04:00
  • e9ee89eed5 Initial get_zsh_complete with support for options Paul Ouellette 2019-06-24 18:03:09 -04:00
  • 4f99e3dce0 Add trailing newline to output of complete functions Paul Ouellette 2019-06-18 12:20:21 -04:00
  • 188fb9d8ac Use command summaries in completion descriptions Paul Ouellette 2019-06-18 12:15:56 -04:00
  • 56364ff50f Use saved help command instead of index Paul Ouellette 2019-06-18 12:02:24 -04:00
  • bcce0fcdcf Small improvements to bash completions Paul Ouellette 2019-06-11 17:22:27 -04:00
  • ab7717898c Add tests for bash completions Paul Ouellette 2019-06-11 01:35:00 -04:00
  • f18902eb4c Complete options if current word starts with dash Paul Ouellette 2019-06-11 00:23:40 -04:00
  • 5b733ba50a Make add_complete a Parser method Paul Ouellette 2019-06-10 16:39:15 -04:00
  • 03e7daf31f Bash completions: complete option argument choices Paul Ouellette 2019-06-07 23:52:50 -04:00
  • 9738045e18 Implement Parser:get_bash_complete Paul Ouellette 2019-06-07 00:27:17 -04:00
  • 46622e83de Remove support for disabling completion option Paul Ouellette 2019-05-31 21:19:48 -04:00
  • d5e15583b8 Add tests for fish completions Paul Ouellette 2019-05-30 23:13:18 -04:00
  • c96637b1d7 Return completions as a string in get function Paul Ouellette 2019-05-31 12:10:59 -04:00
  • 8e04dc6eca Show first sentence of description in option completion Paul Ouellette 2019-05-30 19:21:33 -04:00
  • b893c9bad1 Finish fish completion generator Paul Ouellette 2019-05-28 23:56:19 -04:00
  • 0709c814e7 Implement add_complete and fish option completion Paul Ouellette 2019-05-27 21:51:10 -04:00
  • 56e0d68fe1 Merge remote-tracking branch 'luarocks/refs/pull/5/head' daurnimator 2019-06-18 00:08:08 -07:00
  • 12abc2765b Merge remote-tracking branch 'luarocks/refs/pull/6/head' daurnimator 2019-06-18 03:29:22 +10:00
  • b717d7b11c Add summary command property Paul Ouellette 2019-06-13 18:32:41 -04:00
  • 4509f8f29d Make add_help_command a Parser method Paul Ouellette 2019-06-10 15:56:51 -04:00
  • e30288c54a Merge remote-tracking branch 'luarocks/refs/pull/3/head' daurnimator 2019-05-31 22:40:18 +10:00
  • 77949d9641 Merge remote-tracking branch 'luarocks/refs/pull/4/head' daurnimator 2019-05-31 22:40:02 +10:00
  • ec3d22f499 Add example for option with argument choices Paul Ouellette 2019-05-30 01:37:01 -04:00
  • a8faa0b092 Show choices in help and usage messages Paul Ouellette 2019-05-29 23:18:58 -04:00
  • dcd5162710 Add argument choices Paul Ouellette 2019-05-27 17:54:05 -04:00
  • 16c979220b Remove duplicate test Paul Ouellette 2019-05-30 13:26:58 -04:00
  • d08b637d54 Merge remote-tracking branch 'luarocks/refs/pull/1/head' daurnimator 2019-05-29 00:04:42 +10:00
  • 7981df63da Make error message more consistent Paul Ouellette 2019-05-26 23:49:38 -04:00
  • d3cc9f24a5 Add documentation for add_help_command Paul Ouellette 2019-05-25 14:37:04 -04:00
  • 24398b67ce Add tests for help command Paul Ouellette 2019-05-25 00:24:49 -04:00
  • 55acc1689c Fix tests broken due to change in help flag order Paul Ouellette 2019-05-24 22:48:27 -04:00
  • 6e3c4d5305 Implement add_help_command parser property Paul Ouellette 2019-05-22 21:54:25 -04:00
  • c5af087ad0 Save index of help option Paul Ouellette 2019-05-22 16:41:58 -04:00
  • 412e6aca39 Actual 0.6.0 release Peter Melnichenko 2018-04-13 22:14:05 +03:00
  • 8df87ca3f0 0.6.0 release Peter Melnichenko 2018-04-13 22:04:45 +03:00
  • 3b173daf9f Menition argparse.version in changelog and docs Peter Melnichenko 2018-04-13 22:03:42 +03:00
  • 446280b776 Update scm rockspec Peter Melnichenko 2018-04-13 21:59:13 +03:00
  • 8425918ebb Tweak section order in readme [ci skip] Peter Melnichenko 2018-04-12 14:21:10 +03:00
  • 528ba1b02f Update README.md [ci skip] Peter Melnichenko 2018-04-12 14:17:45 +03:00
  • 99cdddbc9d Update documentation [ci skip] Peter Melnichenko 2018-04-12 14:02:37 +03:00
  • 9019b4fe3a Add doc/ to .gitignore Peter Melnichenko 2018-04-12 14:02:18 +03:00
  • b8c12f50e3 Vertically align list item continuation lines when autowrapping Peter Melnichenko 2018-04-10 16:10:56 +03:00
  • 849622d8e2 Autowrap parser description and epilog, too Peter Melnichenko 2018-04-08 19:10:46 +03:00
  • 488a8e59a0 Add help_max_width property for help description autowrapping. Peter Melnichenko 2018-04-08 19:03:25 +03:00
  • 8a3faf3a3e More properties for configuring usage and help messages Peter Melnichenko 2018-04-08 16:00:42 +03:00
  • a04899a485 Add help_vertical_space Parser property Peter Melnichenko 2018-04-08 15:44:43 +03:00
  • 46d9182184 Make the module a table with __call metamethod, add .version field Peter Melnichenko 2018-04-08 15:25:10 +03:00
  • 621d5d2709 Update copyright year Peter Melnichenko 2018-04-08 15:20:31 +03:00
  • 7e1ee83a0b Add a test for help generation with long option argument list Peter Melnichenko 2018-04-08 15:14:46 +03:00
  • 8baabbbe23 Split labels for multi-alias options into lines in help string Peter Melnichenko 2018-04-08 15:03:56 +03:00
  • 5c1a6896fc Update changelog Peter Melnichenko 2018-04-08 14:06:17 +03:00
  • dfb012dba0 Add support for grouping elements in help message Peter Melnichenko 2018-04-08 14:03:45 +03:00
  • e33a6ed563 Support -- as an option Peter Melnichenko 2018-04-07 23:21:06 +03:00
  • bf23b082b9 Update changelog Peter Melnichenko 2018-04-07 22:10:38 +03:00
  • 4f72bfeb8e Add hidden property, unlisting elements from usage and help Peter Melnichenko 2018-04-07 22:09:18 +03:00
  • 3edbd19b3d Add a changelog Peter Melnichenko 2018-04-07 21:57:30 +03:00
  • 28604e8411 Rework usage message building and support arguments in mutexes Peter Melnichenko 2018-03-18 00:32:26 +03:00
  • aa740c4270 Allow using separate converters for each argument Peter Melnichenko 2018-03-17 14:53:12 +03:00
  • 7a8236751f Add a test for a automatic invocation of underused option with default value Peter Melnichenko 2018-03-17 14:37:06 +03:00
  • 8d929db27c Add a test for usage generation for vararg options and mutexes Peter Melnichenko 2018-03-17 14:31:55 +03:00
  • d77cd6a5d1 Add tests for property validation Peter Melnichenko 2018-03-17 14:26:45 +03:00