spring-initializr-cli

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 4 Imported by: 0

README

📦 spring-initializr-cli

An interactive CLI for quickly and customizing Spring Boot projects — right from the terminal!


✨ Features

  • Choose project type: Maven or Gradle (Groovy or Kotlin)
  • Language selection: Java, Kotlin, Groovy
  • Spring Boot version selection
  • Interactive dependency filtering
  • Define project metadata
  • Project generation based on start.spring.io

🚀 Installation

Download directly
Using go
go install github.com/mathstylish/spring-initializr-cli@latest

Usage

spring

You will be guided by prompts to set up your project step by step.

CLI usage demo

The project will be downloaded and extracted to the directory where you ran the spring command. The directory name is the same as the one defined in the project artifact.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ui/prompt
Package prompt provides interactive terminal prompts for selecting project configuration options, such as build tools and other Spring Initializr metadata values.
Package prompt provides interactive terminal prompts for selecting project configuration options, such as build tools and other Spring Initializr metadata values.
util
Package util contains utility functions to help in code development
Package util contains utility functions to help in code development
metadata
client
Package client provides a function to fetch and parse Spring Initializr metadata from the official start.spring.io endpoint.
Package client provides a function to fetch and parse Spring Initializr metadata from the official start.spring.io endpoint.
model
Package model defines the structures that represent the metadata returned by the Spring Initializr API.
Package model defines the structures that represent the metadata returned by the Spring Initializr API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL