Spring Boot CLI – Using Shell


Spring Boot CLI – Using Shell



”;


Spring Boot CLI provides a Shell interface to run the commands in which we can directly run the commands as shown below. Go to E:Test folder and type the following command.


E:/Test> spring shell

You will see the following output.


←[1mSpring Boot←[m←[2m (v2.6.3)←[m
Hit TAB to complete. Type ''help'' and hit RETURN for help, and ''exit'' to quit.
$

Running commands in Shell.

Type the following and see the output.


version
Spring CLI v2.6.3

You can press tab to auto complete the commands and type exit to finish the shell console.

Testing the application in shell

Type the following and see the output.


$ exit
E:TestFirstApplication>

Advertisements

”;

Leave a Reply

Your email address will not be published. Required fields are marked *