boyaa-clideprecated

A CLI for boyaa font-end project

Usage no npm install needed!

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

README

boyaa-cli

A font-end cli for boyaa

Attention

This project depend on IDL! Maybe you need install IDL first

Installation

yarn global add boyaa-cli

or

npm install boyaa-cli -g

Usage

Open your terminal and type boyaa or boyaa -h , you'll see the help infomation below:

  Usage: boyaa <command>


  Commands:

    add|a      Add a new template
    list|l     List all the templates
    init|i     Generate a new project
    delete|d   Delete a template

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Commands

init | i

After adding new templates, you could use this command to generate your own project by choosing template.

$ boyaa init

? Template name: my-first-template
? Project name: my-project
? Where to init the project? ../
? Init ide-ts? (Y/n)
⠹ Downloading template...

New project has been initialized successfully!