A command-line interface tool to generate Spring Boot projects using Spring Initializr.
npm install -g springlizr# Clone the repository
git clone <your-repo-url>
cd spring-cli
# Install dependencies
npm install
# Link globally for testing
npm linkSimply run the command in your terminal:
springlizrTo publish this package to npm and make it available for everyone:
- Create an npm account at npmjs.com
- Login to npm from your terminal:
npm login-
Check package name availability:
npm search springlizr
If the name is taken, update the
namefield inpackage.json -
Update version (if republishing):
npm version patch # for bug fixes npm version minor # for new features npm version major # for breaking changes
-
Publish to npm:
npm publish
-
Verify publication:
npm view springlizr