3 releases
0.1.2 | Nov 4, 2024 |
---|---|
0.1.1 | Nov 4, 2024 |
0.1.0 | Nov 4, 2024 |
#413 in Command line utilities
16KB
293 lines
Spring Initializr CLI
Spring Initializr CLI is a command-line tool built in Rust that allows developers to quickly and easily create new Spring Boot projects directly from the terminal. This tool is connected to the Spring Initializr API and enables you to generate a Spring Boot project with all the initial configurations you need without having to interact with the Spring Initializr web interface.
Dependencies
reqwest (0.12.9)
dialoguer (0.11.0)
colored (2.1.0)
serde (1.0.214)
termion (4.0.3)
🏁 Features
- Fast generation of Spring Boot projects.
- Customization of project settings directly from the terminal.
- Color output to enhance user experience.
- Interactive dialogs to facilitate option selection.
▶️ Demo
💻 Install on your PC!
[!IMPORTANT] Before using this CLI app, you have to install Spring Boot CLI. See the 'Install Spring Boot CLI' section.
[!TIP] I recommend to create an alias for execute the programm. See the 'Create an alias (Linux)'
‒ Install Spring Boot CLI
You can install Spring Boot CLI easily using SDKMan
‒ Create an alias (Linux)
- Open:
sudo nano ~/.bashrc
- Add this example line:
alias spring-cli='~/Documents/spring-initializr-cli'
⬇️ Locally project installation
To install Spring Initializr CLI, make sure you have Rust installed on your system. Then, you can clone this repository and build the project:
git clone https://github.com/albertlnz/spring-initializr-cli.git
cd spring-initializr-cli
cargo build --release
☕ Buy me a coffee
Dependencies
~6–17MB
~224K SLoC