5ba8e185bca0390d702b52d715d5561d98645ac2
- For annotated methods with arguments, change default arity to zero with booleans and one everything else regardless if @ShellOption is defined or not. - OptionArity.ZERO_OR_ONE had wrong upperbound value, change from MAX to 1. - These modification should take us a bit closer to old shell functionality and what ShellOption documents for arity. - For old functionality I'm referring to method `add(int a, int b)` and/or having @ShellOption and/or without arity setting. - Fixes #446
= Spring Shell 2 Spring Shell 2.1.x 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%