spring-initializr-cli

Crates.iospring-initializr-cli
lib.rsspring-initializr-cli
version0.1.2
sourcesrc
created_at2024-11-04 10:26:40.346651
updated_at2024-11-04 12:00:21.158397
descriptionCommand-line tool to quickly and easily create new Spring Boot projects
homepage
repositoryhttps://github.com/AlbertLnz/spring-initializr-cli
max_upload_size
id1434823
size52,610
(AlbertLnz)

documentation

README

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)

  1. Open: sudo nano ~/.bashrc

  2. 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

"Buy Me A Coffee"

Commit count: 36

cargo fmt