- Focus of these changes are to introduce a new command system based on real registrations (new way) instead of continuously (old way) resolve methods and its parameters via reflection. - There's a lot of changes as this resolution via reflection had its hooks almost everywhere and thus most changes are just refactorings. - Order to understand real changes I'd start to look classes under `org.springframework.shell.command` package as it defines new registration, catalog and parser classes. Also samples contain new classes to demonstrate new functionality. - Fixes #380
36 lines
930 B
Plaintext
36 lines
930 B
Plaintext
== Using Spring Shell
|
|
This section describes how to use Spring Shell.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
_Spring Shell 2.1.x_ is a major rework to bring codebase up-to-date with
|
|
existing _Spring Boot_ versions, adding new features and especially
|
|
making it work with _GraalVM_ which makes command-line applications much
|
|
more relevant on a java space. Moving to new major version also allows
|
|
us to clean up codebase and make some needed breaking changes.
|
|
====
|
|
|
|
include::using-shell-basics.adoc[]
|
|
|
|
include::using-shell-define-command.adoc[]
|
|
|
|
include::using-shell-invoke-command.adoc[]
|
|
|
|
include::using-shell-validate-command.adoc[]
|
|
|
|
include::using-shell-availability.adoc[]
|
|
|
|
include::using-shell-organize.adoc[]
|
|
|
|
include::using-shell-built-in.adoc[]
|
|
|
|
include::using-shell-interaction-mode.adoc[]
|
|
|
|
include::using-shell-native.adoc[]
|
|
|
|
include::using-shell-styling.adoc[]
|
|
|
|
include::using-shell-ui-components.adoc[]
|
|
|
|
include::using-shell-customize.adoc[]
|