Commit Graph

399 Commits

Author SHA1 Message Date
Roland Weisleder
e4e6471f27 Add command group and group output of help command
Resolves #135
2017-09-23 15:36:11 +02:00
Roland Weisleder
b21a1f16f1 Set assumed locale for HelpTest
Otherwise the test would fail on machines with other default than EN.
2017-09-23 15:34:57 +02:00
altus34
1695527408 Fix documentation
- Optional Parameters and Default Values. Type error in greet method signature who cause compile error
 - Customizing the Named Parameter Key(s). help method is already registered in spring shell by default and cannot be reused
2017-09-23 10:57:13 +02:00
Eric Bottard
a50b741af1 Document PromptProvider, ApplicationRunner and ConversionService.
Make the default ConversionService register converters in the ctx
2017-09-19 13:57:28 +02:00
Eric Bottard
b9df6c48a9 Small docs fixes 2017-09-18 19:01:09 +02:00
Eric Bottard
8fcc203fe6 Expose default runner precedence 2017-09-18 18:23:10 +02:00
Eric Bottard
33b56132de Make the default ApplicationRunner reusable 2017-09-18 18:08:21 +02:00
Eric Bottard
fdc4eb0edd Fix IterableResultHandler duplicate definition
Fixes #157
2017-09-18 11:42:56 +02:00
Eric Bottard
076a183d08 Protect against Exceptions in ResultHandler code 2017-09-17 20:59:27 +02:00
Eric Bottard
12dff36d8b Fix completion in multi word commands
Fixes #150
2017-09-16 13:43:04 +02:00
Spring Buildmaster
425493e0a9 [artifactory-release] Next development version 2017-09-14 14:29:28 +00:00
Spring Buildmaster
ccd2444b1e [artifactory-release] Release version 2.0.0.M1 2017-09-14 14:29:24 +00:00
Eric Bottard
ce1563fb46 Make docs part of normal build again, to fix release process :( 2017-09-14 15:40:02 +02:00
Eric Bottard
1f4af15a9a Revert "Trying to fix release plugin. Making sure problem is not tied to table module"
This reverts commit 96cc3880b9.
2017-09-12 16:45:58 +02:00
Eric Bottard
96cc3880b9 Trying to fix release plugin. Making sure problem is not tied to table module 2017-09-12 16:40:20 +02:00
Eric Bottard
5c3911c2a9 Add SCM info to pom 2017-09-12 15:14:35 +02:00
Eric Bottard
5bf34737d6 Remove relative path from parent pom 2017-09-12 14:26:32 +02:00
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
a6f3e28f8f Disable building docs (incl javadocs) by default 2017-09-08 17:41:32 +02:00
Eric Bottard
32c18bec75 Document bean validation constraints in help()
Fixes #147
2017-09-08 16:38:42 +02:00
Eric Bottard
665f319d5f Upgrade JLine to 3.4.0 2017-09-08 13:49:44 +02:00
Eric Bottard
c8ab5f1698 Implement completion for legacy provider
Fixes #149
2017-09-08 10:16:38 +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
1216adbef8 Add LICENCE and Code of Conduct 2017-08-30 11:15:44 +02:00
Eric Bottard
b7e2e58b73 Add missing package descriptions 2017-08-29 18:50:57 +02:00
Eric Bottard
49850562c1 Generate aggregated API docs
Fixes #145
2017-08-29 17:44:27 +02:00
Eric Bottard
efd9e24100 Fix completion on unfinished values
Fixes #143
2017-08-29 16:30:01 +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
6f79cc2686 Fix completion 2017-08-28 15:09:20 +02:00
Eric Bottard
be1603214d More reference documentation 2017-08-25 18:16:09 +02:00
Eric Bottard
56adc9ab5a Write tutorial in ref doc 2017-08-23 21:09:40 +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
51c043e1e1 Remove extra directory in docs zip 2017-08-18 14:00:33 +02:00
Eric Bottard
3fb368476f Add Reference Documentation infrastructure 2017-08-17 12:22:52 +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
39ec7d36c1 Uncamelify method names as documented 2017-08-10 15:39:37 +02:00
Eric Bottard
136ab89678 Rework prefix handling 2017-08-10 15:34:38 +02:00
Eric Bottard
cc37bb013b Document constants in @ShellOption 2017-08-10 13:49:28 +02:00
Eric Bottard
a4ff679e76 Add javadoc and sources generation 2017-08-10 12:19:32 +02:00
Eric Bottard
8753aa96b1 Allow not to build samples 2017-08-10 11:21:00 +02:00