1.0.1 • Published 2 years ago
king-cli v1.0.1
King CLI
King-cli is a CLI for the King framework.
create
Example: king create my-app
"create" installs king-framework
and scaffolds a new app.
scaffold
Example: king scaffold
"scaffold" creates a new directory structure for a King app
build
Example: king build
"build" builds the TypeScript files in app/
to commonjs JavaScript files for Node.
serve
Example: king serve
"serve" starts the express app configured at app/app.ts.
dev
Example: king dev
"dev" watches the compiles dist/ folder as well as the public folders for changes and reloads the express app on change.