Commit Graph

701 Commits

Author SHA1 Message Date
Janne Valkealahti
48aa63f4ef Bugfix: Tab-completion fails
- Backport #902
- Fixes #919
2023-11-06 18:18:35 +00:00
Janne Valkealahti
1f4eb5b02e Upgrade jline 3.24.1
- Default TerminalBuilder system outpu to SysOut to restore
  writing to stdout instead of stderr when redirect exists
- Backport #891
- Backport #901
- Fixes #915
- Fixes #912
2023-11-03 17:17:44 +00:00
Janne Valkealahti
8bab928385 Update stringtemplate 4.3.3
- Backport #886
- Fixes #887
2023-10-19 16:48:26 +01:00
Janne Valkealahti
496c2907d4 Upgrade spring-boot 2.7.17
- Fixes #892
2023-10-19 13:20:52 +01:00
github-actions[bot]
75b8887ade Next development version 2023-10-03 12:02:17 +00:00
Janne Valkealahti
7fcfaef5c1 Upgrade spring-boot 2.7.16
- Fixes #868
2023-09-21 12:49:59 +01:00
Janne Valkealahti
01d8c7fe93 Upgrade spring-boot 2.7.15
- Fixes #875
2023-08-25 09:26:21 +03:00
Janne Valkealahti
0ab3785e89 Update nexus timeouts 2023-07-26 12:46:56 +01:00
github-actions[bot]
9dcd6207bf Next development version 2023-07-26 11:43:32 +00:00
MJ Gallego
aa74ea23ce Completion proposal support for complete jline parameter
- to allow completing single argument with multiple tab clicks,
  for example file paths.
- Backport #512
- Fixes #834
2023-07-25 10:00:03 +01:00
Janne Valkealahti
1350f619ca Upgrade spring-boot 2.7.14
- Fixes #817
2023-07-20 14:26:53 +01:00
github-actions[bot]
02c3999508 Next development version 2023-06-27 07:00:52 +00:00
Janne Valkealahti
a7e62076c2 Add run-name to release workflow 2023-06-27 07:42:48 +01:00
Janne Valkealahti
24496d469c Upgrade spring-boot 2.7.13
- Fixes #784
2023-06-22 15:50:34 +01:00
Janne Valkealahti
b5159dffbe Revert "ExtendedDefaultParser should not add empty arguments"
This reverts commit c1c9f5e2c2.

Relates #765
2023-06-12 09:05:30 +01:00
Janne Valkealahti
c1c9f5e2c2 ExtendedDefaultParser should not add empty arguments
- Fixes issue when last "word" is within quotes and
  cursor is at the end of a line which caused empty
  "word" string in an argument list.
- This then caused i.e. string option to have a collection
  as an input(if no arity settings used) and via
  spring conversions a comma were added.
- Backport #763
- Fixes #765
2023-06-07 16:01:22 +01:00
Janne Valkealahti
a4359e7c56 Fix ci publish 2023-05-29 06:57:45 +01:00
Janne Valkealahti
3115274fc4 Fix ci publish 2023-05-29 06:51:29 +01:00
Janne Valkealahti
348f959c42 Fix ci publish 2023-05-29 06:40:45 +01:00
Janne Valkealahti
96d4a777f4 Fix ci publish 2023-05-28 17:52:05 +01:00
Janne Valkealahti
07fcc754e8 Fix ci publish 2023-05-28 17:36:13 +01:00
Janne Valkealahti
21c411abbf Fix ci publish 2023-05-28 17:07:11 +01:00
github-actions[bot]
b8dece2ee2 Next development version 2023-05-25 15:12:52 +00:00
Janne Valkealahti
0208805d43 Add input into ConfirmationInput
- Now displaying what user actually inputs
- Backport #740
- Fixes #745
2023-05-20 17:23:57 +01:00
Janne Valkealahti
33eb30e566 Upgrade spring-boot 2.7.12
- Fixes #741
2023-05-19 08:29:23 +01:00
github-actions[bot]
b4d1039cbe Next development version 2023-05-08 08:02:12 +00:00
Janne Valkealahti
4cff994e1d Upgrade jline 3.23.0
- Backport #725
- Fixes #726
2023-04-29 14:58:10 +01:00
Janne Valkealahti
60287c7459 Migrate docs to spring-asciidoctor-backends
- Use io.spring.asciidoctor.backends:spring-asciidoctor-backends:0.0.5
- Backport #722
- Fixes #723
2023-04-29 08:06:32 +01:00
Janne Valkealahti
efe8d561fd Upgrade spring-boot 2.7.11
-Fixes #719
2023-04-27 20:52:58 +01:00
github-actions[bot]
8572eeef93 Next development version 2023-04-11 17:35:48 +00:00
cachescrubber
f3e3061580 Pass ShellContext to CommandCatalog.of in CommandCatalogAutoConfiguration (#693)
- Backport #702
- Fixes #703
2023-04-06 09:16:34 +01:00
Janne Valkealahti
78faeac86a Fix build with jdk8
- Remove non jdk8 code used in #694
2023-04-06 07:18:53 +01:00
Janne Valkealahti
041cb30eb0 Fix option type parsing
- In `CommandRegistration` add `ResolvableType` for `OptionSpec` giving
  more spesific handling of a type.
- In `CommandParser` handle source and target types so that we
  have generics with `List`, `Set` and arrays working better.
- In `HandlerMethodArgumentResolver` add better handling for
  `ConversionService` for generic types.
- In `StandardMethodTargetRegistrar` add better types via `ResolvableType`
  now that `CommandRegistration` support it.
- In `OptionConversionCommands` remove converter from `String` to `Set` as
  now things should work as is if generic in a `Set` has a converter.
- Fixes #694
2023-04-02 14:37:08 +01:00
Janne Valkealahti
77b136f53f Upgrade spring-boot 2.7.10
- Fixes #696
2023-03-24 07:48:26 +00:00
Janne Valkealahti
5e0c79cb2a Update docs copyright year 2023-03-18 16:51:49 +00:00
Janne Valkealahti
de08935b92 Fix ConfirmationInput template message
- Fix confirmation-input-default.stg to use correct style
  names in format.
- Backport #690
- Fixes #692
2023-03-17 08:43:52 +00:00
Simon Verhoeven
3c090848bf Rename setMaskCharater to setMaskCharacter
- Backport #686
- Fixes #689
2023-03-12 16:12:28 +00:00
github-actions[bot]
b4f2598417 Next development version 2023-02-27 17:26:44 +00:00
Janne Valkealahti
d9641f6d1c Wrong arity for default boolean type
- Set boolean type arity zero or more as default.
- Backport #675
- Fixes #677
2023-02-27 15:44:35 +00:00
Janne Valkealahti
339b43b5e3 Upgrade spring-boot 2.7.9
- Fixes #660
2023-02-23 18:14:11 +00:00
Janne Valkealahti
d72627443c Rename command registration doc files 2023-02-23 09:57:33 +00:00
Janne Valkealahti
545a735dd9 Move command registration under same section 2023-02-23 09:28:48 +00:00
Janne Valkealahti
7ec5c194ff Use correct type with set
- When target is set and only one option argument is given,
  we should not convert to list as user expects string to xxx
  Converter to work.
- This is how it used to work and previous changes caused
  regression.
- Bug is actually in an old parser and new parser works fine.
- Backport #667
- Fixes #669
2023-02-18 14:21:08 +00:00
Janne Valkealahti
3c44c7c976 Handle arg looking options better
- Now lexing better with valid options
- Only report unrecognised option with double dash
  as current parser don't have structure to do
  deeper analysis.
- Backport #651
- Fixes #653
2023-02-01 09:43:36 +00:00
Janne Valkealahti
ca76a63c30 CommandRegistration should return same options
- Cache created CommandOption(s) to return same instance.
- Backport #648
- Fixes #649
2023-01-28 17:50:45 +00:00
github-actions[bot]
61ab2de48c Next development version 2023-01-24 09:28:38 +00:00
Janne Valkealahti
9154c85762 Use nexus-sync v0 2023-01-23 10:51:57 +00:00
Janne Valkealahti
5c52fbe373 Polish 2023-01-20 16:11:42 +00:00
Janne Valkealahti
a7d31c1126 Upgrade spring-boot 2.7.8
- Fixes #620
2023-01-20 09:53:49 +00:00
Janne Valkealahti
21d695f68e Fix sample commands
- Fix mistake made in backport #631 which
  caused compile issues.
2023-01-19 18:01:27 +00:00