Spring CLI
Thumbnail
July 20 2022
Script to initialize Spring-Boot projects right from your terminal

Link to GitHub repository

Table of Contents

About

I needed a handy tool to generate Spring Boot projects from my terminal and I couldn’t find any. So I wrote one myself :D

Working

This script collects all relevant information required to initialize a Spring Boot project and makes an api call to start.spring.io using httpie to download the zip file containing the project.

Installation

$ npm install -g httpie
$ git clone https://github.com/schmeekygeek/spring-cli
$ cd spring-cli/
$ chmod +x spring-cli
$ sudo cp spring-cli ~/.local/bin/

To uninstall, simply remove spring-cli from /usr/bin/

$ sudo rm ~/.local/bin/spring-cli

Usage

$ spring-cli
spring-cli: A command-line tool to generate spring projects right from your terminal

: Usage
        spring-cli {option}
: Options
        --help                          Print this help message and exit
        --list-dependencies             List all dependencies
        --create-project                Create a project interactively

Notes

Contributing

All sorts of pull requests to improve the script are welcome :D

License

This product is licensed under the GNU General Public License V3