668ddb458ea12d44badefaa53bc97d36357d5bfc
- Add basic support of defining a command `completion bash` which outputs a generic bash script which can be used in a user environment. - Idea for completion is copied from go's cobra library what comes for a bash dance itself. - Goes through command registry, builds a model for command structure and uses antlr st4 for templating bash. - Should give foundation to create other completions just like in cobra. - Currently as we don't know a root-command in a generic way, option `spring.shell.command.completion.root-command` is required user to set. - Fixes #343
= 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%