2.4.1 • Published 6 years ago
blocksmvc-cli v2.4.1
Blocks-cli
This is a command line (CLI) tool for interacting with Blocks Framework
Installation
npm install blocksmvc-cliUsage
- Change directory into project directory and run a command
npx blks <command>
OR
npx blocks <command>
Commands
| Commands | Description |
|---|---|
| start | Starts development server |
| scripts | Minifies js code |
| sass | Runs sass compiler |
| css | Minifies css code |
| dump-autoload | Autoloads classes |
| make --controller controllerName | Creating a controller |
| make --model modelName | Creating a model |
| make --migration MigrationName | Creating migration |
| migrate | Making migrations |
| migrate --rollback | Rolling back migrations |
Contributing
- Fork it (https://github.com/asadadams/blocks-cli/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request