Search code examples
spring-shell

Spring Shell - How To Disable All or Some Of The Built-In Commands


Using Spring Shell 3.0 I would like to disable some of the built-in commands, e.g. stacktrace, script.

Is this possible to achieve?


Solution

  • In class StandardCommandsAutoConfiguration there are properties which can be set to disable commands. In spring-shell-autoconfigure.jar