Crates.io | spring-initializr-cli |
lib.rs | spring-initializr-cli |
version | 0.1.2 |
source | src |
created_at | 2024-11-04 10:26:40.346651 |
updated_at | 2024-11-04 12:00:21.158397 |
description | Command-line tool to quickly and easily create new Spring Boot projects |
homepage | |
repository | https://github.com/AlbertLnz/spring-initializr-cli |
max_upload_size | |
id | 1434823 |
size | 52,610 |
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)
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.
[!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)'
You can install Spring Boot CLI easily using SDKMan
Open: sudo nano ~/.bashrc
Add this example line: alias spring-cli='~/Documents/spring-initializr-cli'
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