Skip to content

batiwo/shell-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell-cli

A combo Spring Shell and Spring CommandLineRunner (ApplicationRunner)

Description

This project aims to be a sample to easily start a Spring Shell CLI that can be run both in interactive mode and directly from command line (Base on Spring Application Runner).

Installation

The produced shell-cli is also aim to be install to easily be used as linux command line.

  1. Create install folder
sudo mkdir /var/shell-cli
sudo cp target/shell-cli-1.0.0.jar /var/shell-cli/shell-cli.jar
  1. Create symbolic link
sudo ln -s /var/shell-cli/shell-cli.jar /bin/shell-cli
  1. Make it executable
sudo sudo chmod +x /bin/shell-cli
  1. Test it
shell-cli help

About

A combination of Sping Shell and CommandLineRunner

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages