spring-shell
spring-shell copied to clipboard
Updating spring shell from 3.0.1 to 3.0.2 made exit, quit and clear commands dissappear
Hello,
After updating spring shell library from 3.0.1 to 3.0.2 in the bult in section of the commands in help menu the referenced commands dissapered. Even if i manually add them in application yaml file like this spring: shell: interactive: enabled: true command: clear: enabled: true quit: enabled: true help: enabled: true only help commands appears to follow apllication yaml (if i put false, it stops to work)
I tried to ovveride them by creating commands that do the same copied from here https://github.com/spring-projects/spring-shell/tree/296db93462eac8a9d6b10009a2e3f7b9fe22f5ad/spring-shell-standard-commands/src/main/java/org/springframework/shell/standard/commands and if i create commands with the names exit, quit or clear they dont appear. If i create commands with other names like "clean" instead of clear and then i code inside the same code like it is found here https://github.com/spring-projects/spring-shell/tree/296db93462eac8a9d6b10009a2e3f7b9fe22f5ad/spring-shell-standard-commands/src/main/java/org/springframework/shell/standard/commands it appears (not in built in commands ) and also works.
Is this a known issue ?
thank you, Thanasis