@bochap_/mini-cli

burgerjs command line interface

Usage no npm install needed!

<script type="module">
  import bochapMiniCli from 'https://cdn.skypack.dev/@bochap_/mini-cli';
</script>

README

Mayo CLI

Mayo is a CLI for BurgerJS framework. This project is open source, so if you wanna be part of, just go ahead!

Installation

To start using mayo-cli

$ npm install -g mayo-cli

Usage

To start a new project, you should use

$ mayo init --name test

name is an optional parameter for your project, by default, the name will be burgerjs-test.

To create a new component/page, you should use

$ mayo new --name home --type page

name is an obligatory parameter to set the name of the component. type is an obligatory parameter to define if it will be a component or a page.

To build your bundle, you should use

$ mayo build

To run your project, you should use

$ mayo run --port 3000

port is an optional parameter to set the port, by default, the project will be initialized in port 8080.

License

MIT