Janne Valkealahti
5dcdc4c185
Extract autoconfig
...
- Create separate spring-shell-autoconfigure and keep
all autoconfig features there.
- Fixes #329
2021-12-19 12:38:41 +00:00
Janne Valkealahti
e14f4a3f32
Remove bean cycles
...
- Shuffle things around into different auto-config and configuration
classes and use other tricks like ObjectProvider to work around
boot 2.6.x imposing bean cycle checks.
- This is first set of changes to work around this issue, not
to make things perfect. Further refactoring work is needed
making code base more boot 2.x friendly as things are based
on boot 1.5.x times.
- Fixes #324
2021-12-17 15:32:52 +00:00
Janne Valkealahti
5e61ff1315
Polish unused imports
2021-12-11 13:09:00 +00:00
Janne Valkealahti
e30edf2446
Update boot 2.6.1
...
- Migrate tests to junit5 and assertj as those
are on a classpath automatically.
- Temporarily use spring.main.allow-circular-references=true
to allow time for fixes to remove cycles.
2021-12-11 12:57:34 +00:00
Spring Operator
2ccab80189
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 125 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-26 11:48:12 +01:00
Eric Bottard
5d13c5f47a
Add history command
...
Fixes #208
2018-03-14 22:18:41 +01:00
Eric Bottard
f0e5c45ee9
Add automatic command grouping
...
Fixes #163
Introduce Command and Command.Help
2017-09-28 09:44:48 +02:00
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
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
32c18bec75
Document bean validation constraints in help()
...
Fixes #147
2017-09-08 16:38:42 +02:00
Eric Bottard
9f88c03cf3
Add ability to run commands and exit
2017-08-30 16:54:36 +02:00
Eric Bottard
56adc9ab5a
Write tutorial in ref doc
2017-08-23 21:09:40 +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
Eric Bottard
ff3153c419
Add script command.
...
Also: prepare for execute-then-quit.
Add javadocs
2017-08-11 17:28:30 +02:00
Eric Bottard
136ab89678
Rework prefix handling
2017-08-10 15:34:38 +02:00
Eric Bottard
5b07a1a89c
Rename ShellMethod.help() to value(), as it is the only mandatory attribute.
2017-08-10 11:13:13 +02:00
Eric Bottard
78f69d51e2
Fix build
2017-08-10 10:34:38 +02:00
Eric Bottard
a7d9ababa0
Move InputProvider to top-level
2017-08-09 17:43:46 +02:00
Eric Bottard
0ca3dacdce
Allow overrides of standard commands
2017-08-08 11:52:32 +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