CLI commands
The @nessframework/cli package provides application creation, package management, code generation, development, builds, production, and diagnostics through the ness executable.
ness --help
ness <command> --help
ness --version
Application lifecycleβ
| Command | Purpose |
|---|---|
ness new | Create an application from a template |
ness dev | Start the development server |
ness build | Create optimized production bundles |
ness start | Serve an existing production build |
Code and routesβ
| Command | Purpose |
|---|---|
ness generate | Generate routes and application modules |
ness typegen | Generate route types |
ness routes | Print the discovered route tree |
ness reveal | Materialize a framework entry module |
Package managementβ
| Command | Purpose |
|---|---|
ness add | Install an official plugin or another package |
ness remove | Uninstall a package |
ness update | Update installed @nessframework/* packages |
Project utilitiesβ
| Command | Purpose |
|---|---|
ness clean | Remove build output and framework caches |
ness doctor | Validate the current Ness application |
ness info | Print environment and package information |
All commands return a non-zero exit code when an operation fails, making them suitable for CI scripts.