7298b2ce78dd6c7e23ab7700938cc17e8ff147e0
- Add support for running shell commands as a non-interactive mode. - This works by adding new ShellApplicationRunner interface which is an extension to ApplicationRunner forcing to have exactly one main ApplicationRunner and then DefaultApplicationRunner dispatches to new interface ShellRunner which allows to pick between script, interactive and non-interactive, etc. - It is sort of a breaking change but works much better not having a need to have previous hooks between application runners to disable things at runtime. - All this makes it closer for a user to have a choice between using shell commands as is without entering interactive mode. - Also add SpringShellProperties for better config props support for boot users. - Fixes #342
= Spring Shell 3 Spring Shell 3 is a work to solely depend on Spring Boot 2.x and not trying to keep any backward compatibility with older Spring Shell 1.x nor Spring Boot 1.x. == Building ``` ./mvnw package ``` == Running The project comes with a sample application, showcasing the various ways you can write commands. ``` ./mvnw install ./mvnw -pl spring-shell-samples spring-boot:run ``` From there, try typing `help` or `help <commmand>` at the shell prompt.
Description
Languages
Java
100%