blocksmvc-cli

Blocks command-line (CLI) tool for blocks framework

Usage no npm install needed!

<script type="module">
  import blocksmvcCli from 'https://cdn.skypack.dev/blocksmvc-cli';
</script>

README

Blocks-cli

Maintenance MIT license Open Source Love svg2

This is a command line (CLI) tool for interacting with Blocks Framework

Installation

npm install blocksmvc-cli

Usage

  • 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

  1. Fork it (https://github.com/asadadams/blocks-cli/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Changelog