pokemon-jsapi-cli

For creating your Jsapi demo projects

Usage no npm install needed!

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

README

POKEMON

A light tool for creating your Jsapi demo projects.

Installation

npm install pokemon-cli -g

Usage

终端输入 pokemon 或者 pokemon -h , 获取帮助:

  Usage: pokemon <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

Note that if you are using MacOS, sudo was required while using commands add and delete.

Commands

add | a

添加模版

$ pokemon add

list | l

展示所有模版

$ pokemon list

init | i

创建项目

$ pokemon init

delete | d

删除模版

$ pokemon delete

License

MIT.