Commit Graph

24 Commits

Author SHA1 Message Date
Eric Bottard
4a6c699aca Inject the ValidatorFactory instead of Validator.
This prevents the Spring Validator Factory from being injected (it
does not support the 1.1 methods)
2017-09-11 17:16:43 +02:00
Eric Bottard
8f3c11a3bd Move logback configuration out of core 2017-09-11 16:54:53 +02:00
Eric Bottard
8fd4d69a61 Expose an evaluate() method that returns result before handling
Fixes #154
2017-09-08 21:48:31 +02:00
Eric Bottard
32c18bec75 Document bean validation constraints in help()
Fixes #147
2017-09-08 16:38:42 +02:00
Eric Bottard
6f872dc308 Change internal method name to avoid confusion with bean validation 2017-09-07 14:58:50 +02:00
Eric Bottard
919cefbc52 Document bean validation 2017-09-07 14:48:50 +02:00
Eric Bottard
3b0901af17 Pretty print bean validation errors
Fixes #137
2017-08-30 21:59:53 +02:00
Eric Bottard
73bf00bb44 Fix #142 2017-08-30 19:06:26 +02:00
Eric Bottard
993f49a81f Better handling of ResultHandler generics detection 2017-08-30 18:20:43 +02:00
Eric Bottard
9f88c03cf3 Add ability to run commands and exit 2017-08-30 16:54:36 +02:00
Eric Bottard
b7e2e58b73 Add missing package descriptions 2017-08-29 18:50:57 +02:00
Eric Bottard
e38205b2b2 Add ASCII Table support
Fixes #136
2017-08-28 19:00:36 +02:00
Eric Bottard
dfa1a778a5 More reference documentation 2017-08-28 15:32:37 +02:00
Eric Bottard
a191d113a4 Add history file support.
Fixes #134
2017-08-23 18:46:09 +02:00
Eric Bottard
1eea04ad2f Add dynamic command availability
Introduce availability concept on MethodTarget (with reason if not available)
Add bridge to @CliAvailabilityIndicator to Legacy registrar

Fixes #138

Add help for unavailable commands

Add standard API for availability
2017-08-23 18:44:31 +02:00
camilojc
6c231a072c Order ParameterResolvers. Validate there is at least one per parameter 2017-08-18 16:19:31 +02:00
Eric Bottard
ff3153c419 Add script command.
Also: prepare for execute-then-quit.
Add javadocs
2017-08-11 17:28:30 +02:00
Eric Bottard
ca5ace72b7 Add missing file following last commit 2017-08-09 17:58:58 +02:00
Eric Bottard
a7d9ababa0 Move InputProvider to top-level 2017-08-09 17:43:46 +02:00
Eric Bottard
885e22ea0f Add support for comments, prepare for "script" and execute-then-quit 2017-08-09 16:58:11 +02:00
Eric Bottard
7efb3cd049 Add more context when failing to construct a MethodTarget 2017-08-09 15:48:49 +02:00
Eric Bottard
c3c7f1fccd Add PromptProvider extension point 2017-08-08 16:07:12 +02:00
Eric Bottard
c8e4752119 Prevent double registration of commands 2017-08-08 11:52:32 +02:00
Eric Bottard
6497df181d Refactor packages and artifactIds to prepare for official migration to spring-projects repo.
Remove usage of component scan in favor of auto-conf

Fixes #61
2017-08-08 11:52:32 +02:00