8000 GitHub - schmeekygeek/spring-cli: A simple command-line tool to initialize spring-boot projects right from your terminal
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

schmeekygeek/spring-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Cli

A command-line Bash script to initialize Spring-Boot projects right from your terminal.

Read blog post here: https://schmeeky.pages.dev/posts/spring-cli

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

Dependency

  • Httpie
$ 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

  • I could've gone with cURL as the http client, but I felt like using httpie. You can edit the script however you like to fit your needs.

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

About

A simple command-line tool to initialize spring-boot projects right from your terminal

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0