This is a command line (CLI) tool for interacting with Blocks Framework
npm install blocksmvc-cli
- Change directory into project directory and run a command
npx blks <command>
OR
npx blocks <command>
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 |
- 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