Noopy CLI is a command-line interface for managing Noopy projects. It provides commands to create new projects, generate components, and start the project.
To install Noopy CLI, use npm:
npm install -g @noopyjs/noopy-cli
noopy new <project-name> # Create a new Noopy project
Options:
- -h, --help: Display help for the command
Example:
noopy new my-noopy-app
noopy generate <component-name> # Generate a new component
Options:
- -c, --crud: Generate a CRUD component
- -d, --decorator: Generate a decorator, use --with-params to add parameters
Examples:
noopy generate my-component
noopy generate my-component -d --with-params
noopy start # Start the development server
Options:
- -d, --dev: Start the server in development mode
Example:
noopy start
noopy start --dev