Commit Graph

1406 Commits

Author SHA1 Message Date
Remko Popma
13b637f851 Release picocli version 4.2.0 2020-02-12 07:40:15 +09:00
Remko Popma
34a7d3ab72 [#945] Bugfix: Text.substring now leaves out StyledSection instances that do not apply. 2020-02-11 01:21:47 +09:00
Remko Popma
566f9835a4 [#943] fix broken tests 2020-02-10 08:20:49 +09:00
Remko Popma
552b920bfe [#943] Create man pages for built-in picocli commands. 2020-02-10 07:46:00 +09:00
Remko Popma
3f495af81a [#942][#943] Show at files in usage help for picocli built-in commands; Create man pages for built-in picocli commands. 2020-02-09 20:21:56 +09:00
Remko Popma
87ef1e99ce [#941] Enhancement: Allow default values for predefined variables.
Closes #941
2020-02-09 20:14:34 +09:00
Remko Popma
08786c8484 [#940] Bugfix: ArgGroups with a negatable option no longer cause a NullPointerException during initialization. 2020-02-08 01:29:30 +09:00
Remko Popma
276080036f TEST improve test coverage 2020-02-07 02:13:48 +09:00
Remko Popma
596a6c8057 TEST improve test coverage 2020-02-07 01:14:00 +09:00
Remko Popma
4b0980c780 CLEAN fix or suppress compiler warnings 2020-02-07 01:01:00 +09:00
Remko Popma
9b3badd9bc [#938] Bugfix: ArgGroups validation now correctly reports an error when a required option is missing, while an optional subgroup is present 2020-02-07 00:46:43 +09:00
Remko Popma
37144bc1b7 [#299][#459] migrate APIs to use ColorScheme instead of Ansi 2020-02-06 13:39:14 +09:00
Remko Popma
31a4567da4 TEST improve test coverage for UsageMessageSpec.detectTerminalWidth 2020-02-06 10:10:36 +09:00
Remko Popma
762207d5c4 [#299][#459] strengthen ColorScheme API to map markup in descriptions and header/footer text to custom IStyles 2020-02-06 03:01:57 +09:00
Remko Popma
fa73d0dc2c [#936] API: Change visibility of Help.subcommands() method from protected to public.
Closes #936
2020-02-04 23:54:37 +09:00
Remko Popma
982b8415a3 [#937] Bugfix: Text.getStyledChars no longer incorrectly inserts ANSI escape chars into the next line prefix when lines are broken.
Closes #937
2020-02-04 23:40:38 +09:00
Remko Popma
9ca988669b CLEAN renamed CommandLineModelTest to ModelCommandSpecTest; split off tests to ModelUsageMessageSpecTest 2020-02-04 13:44:58 +09:00
Remko Popma
ecc35b6e5d TEST additional tests to improve test coverage 2020-02-04 13:39:13 +09:00
Remko Popma
ef9dfec582 [#934] Make long options column width configurable
Closes #934
2020-02-03 20:00:44 +09:00
Remko Popma
a3d07207bc [#933] Bugfix: Incorrect error message when multiple exclusive groups are used. 2020-02-02 09:43:42 +09:00
Remko Popma
9cf064eb97 [#934] added test (incomplete) 2020-02-02 08:30:22 +09:00
Remko Popma
427cdb932e [#795] DOC: update user manual 2020-02-01 20:25:13 +09:00
Remko Popma
ab34c35d6b DOC: improve javadoc for Option and Parameters #showDefaultValue and #description 2020-02-01 19:00:33 +09:00
Remko Popma
3c85d4c14d [#454] bugfix: options with arity=* should not prevent repeatable subcommands from being recognized 2020-01-30 11:39:59 +09:00
Remko Popma
f75e50601d [#905] Bugfix: non-public @Command-annotated methods without arguments no longer cause a IllegalAccessException 2020-01-30 00:27:03 +09:00
Remko Popma
e10c4a9153 [#795] fix broken test 2020-01-29 02:23:23 +09:00
Remko Popma
cccd74664d [#795] make location of atFileParameterList in the usage help message configurable with Help section keys 2020-01-29 02:15:41 +09:00
Remko Popma
9619960226 [#795] showAtFileInUsageHelp bugfix (ResourceBundles were not used), added tests 2020-01-29 01:40:54 +09:00
Remko Popma
d122d35543 [#795] showAtFileInUsageHelp description fix; added tests 2020-01-28 13:22:15 +09:00
Remko Popma
843a0309f9 CLEAN moved @-file tests to separate test class 2020-01-28 12:48:12 +09:00
Remko Popma
9d8b58bd6c [#454] added tests 2020-01-28 12:42:54 +09:00
Remko Popma
0e006df65b [#454] fixed bug in RunLast.extractExitCodeGenerators; added tests 2020-01-28 12:29:45 +09:00
Remko Popma
6aaebe0741 [#454] Added tests 2020-01-28 00:55:18 +09:00
Remko Popma
87fc0088cf [#454] test improvement 2020-01-26 20:39:44 +09:00
Remko Popma
d9d5eb8051 [#454] added exit code tests 2020-01-26 20:34:05 +09:00
Remko Popma
ff406e19c9 [#454] bugfix: ensure all repeatable subcommands are executedl added tests 2020-01-26 17:55:10 +09:00
Remko Popma
e1be3375d4 CLEAN renamed test classes 2020-01-26 17:09:38 +09:00
Remko Popma
fe62298aa4 TEST ColorSchemeTest toString, equals 2020-01-26 07:02:41 +09:00
Remko Popma
91e9e78efb [#795] Added @Command(showAtFileInUsageHelp=true) attribute to show @filename in usage help. 2020-01-25 03:17:39 +09:00
Remko Popma
b2dde594f6 [#928] Improve debug tracing: show command user object identity hashcode and prefix "Processing argument..." with argument index.
Closes #928
2020-01-25 01:38:49 +09:00
Remko Popma
27eaab605a [#926] Clarify debug trace output when adding aliases
Closes #926
2020-01-25 00:36:50 +09:00
Remko Popma
8183694520 [#454] bugfix: inject @ParentCommand in repeatable subcommands 2020-01-25 00:25:06 +09:00
Remko Popma
f77658ed66 TEST added TODO 2020-01-25 00:23:03 +09:00
Remko Popma
0117fe259e TEST prevent NPE 2020-01-24 01:08:39 +09:00
Remko Popma
596d5f0bb6 CLEAN renamed test class 2020-01-24 00:52:17 +09:00
Remko Popma
be9794bc00 TEST: improve test coverage 2020-01-24 00:01:07 +09:00
Remko Popma
cdd8c1b546 TEST: improve test coverage (ColorScheme) 2020-01-23 23:04:35 +09:00
Remko Popma
29268e7769 TEST add Palette256Color tests 2020-01-23 22:50:33 +09:00
Remko Popma
7143bdff2e CLEAN renamed test classes 2020-01-23 22:40:29 +09:00
Remko Popma
7d938c6532 [#629] Support injecting @Spec CommandSpec spec into IVersionProvider implementations 2020-01-23 22:23:37 +09:00