@nemesis-js/cli
v1.0.1
Published
NemesisJS CLI - scaffolding and code generation
Readme
It provides powerful scaffolding and code generation tools to accelerate your development workflow.
Features
- Scaffold New Projects: Quickly generate the foundational structure of a NemesisJS application.
- Generate Components: Easily create new controllers, services, and modules using built-in templates.
- Automated Configuration: The CLI automatically registers newly generated components in their corresponding module files.
Installation
Install the CLI globally using your favorite package manager:
npm install -g @nemesisjs/cli
# or via bun
bun add -g @nemesisjs/cliUsage
Once installed, you can use the nemesis command in your terminal.
# Display help and available commands
nemesis --helpGenerating Resources
You can generate specific files within an existing project using the generate or g command.
# Generate a new controller
nemesis generate controller user
# Generate a new service
nemesis generate service user
# Generate a standalone module
nemesis generate module billing(Note: The generate command automatically adds your generated controllers and services to the providers array in the respective .module.ts file!)
License
MIT
