This does basically the same thing as
Bootstrap
in Spring Shell,
but using Spring Boot's
CommandLineRunner
as a callback hook for initialization, instead
of squatting on the application's one
main(String[] args)
method.
This configuration also uses Spring Boot to parse command line arguments instead of
SimpleShellCommandLineOptions.parseCommandLine(String[])
. This means that
command line arguments use a different syntax than in Spring Shell. Key value pairs for arguments need to be
passed with an equal sign as the separator rather than a space.