@oncoding/pudding

1.1.2 • Public • Published

pudding-cli

Install

npm i @oncoding/pudding -g

Add Bash Completion

get completion script using command below, and do sth it shows u!

pudding completion

Usage

new project

$ pudding project new hellocli

☐  pending   拷贝工程模板到/Users/nemo/code/imnemo/hellocli
☐  pending   生成新工程package.json
✔  success   hellocli新建成功!
●  note      请执行后续命令:

    cd hellocli
    npm i. - g
    hellocli completion

dev new cli

cd hellocli

# install for dev
npm i . -g

# then you can use hellocli now
# add bash compeltion
hellocli completion

# show some examples
hello example -h

# new a command combo
pudding command new combo --combo

# new a command not combo
pudding command new --path command bar

api

logger

signale is used. All commands will show all debug infos with the param -d or --debug. By default, the logger debug and log will not be shown.

hello example echo -d
hello example echo

Package Sidebar

Install

npm i @oncoding/pudding

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

32.5 kB

Total Files

65

Last publish

Collaborators

  • sunshine1988