Spring Handbook
  • Introduction
  • Web Applications
    • Creating REST API
    • Uploading File with REST API
    • Content Type Matching
  • Shell
    • Hello World Command
    • Securing Shell using Annotations
Powered by GitBook
On this page

Was this helpful?

Shell

PreviousContent Type MatchingNextHello World Command

Last updated 5 years ago

Was this helpful?

version 2 comes with support. Now it is much easier to run the shell. Also, it is easier to test the shell code in unit tests.

In the new version, it is possible to create own annotations and wrap them around commands using AOP (this was not possible in the first version).

Here is with Spring Shell 2 example

Spring Shell
Spring Boot
github repository