quickboot-cli
v1.0.1
Published
CLI to initialize and generate QuickBoot projects and modules based on quickboot-data template
Maintainers
Readme
QuickBoot CLI
An initializer and module generator for Spring Boot projects based on the quickboot-data template.
Installation
npm install -g quickboot-cliCommands
1. Initialize a new project
Clones the base template, renames packages, and configures the project automatically. It syncs with the latest version from GitHub.
quickboot init [project-name]Options:
-p, --package <package>: Define the base package (e.g.,com.mycompany.app).
2. Generate a new module (CRUD)
Creates an Entity, Repository, Service, Controller, DTOs, and Mapper based on the global template.
quickboot generate <ObjectName>
# or use the alias
quickboot g <ObjectName>Features
- Automatic Sync: The CLI automatically clones and updates the template from GitHub to your local machine (
~/.quickboot/template). - Clean Projects: Initialization excludes demo files, giving you a clean start.
- Smart Refactoring: Automatically detects your project's package structure and renames all generated components accordingly.
- Swagger Support: Intelligent replacement that doesn't break
@Schemaannotations.
Requirements
- Node.js
- Git
- Java & Maven
