cmd-man

1.0.1 • Public • Published

Welcome to cmd-man 👋

Version License: ISC

cmd-man,一款基于nodejs的专属于你的命令行工具.

cmd-man,采用的commonjs模块规范

也可package.json配置"type":"module", 使用esm规范. 默认为"type": "commonjs",

🏠 npm | ahviplc

🏠 npm | cmd-man

🏠 Homepage-gitee

Demo-gitee

🏠 Homepage-github

Demo-github

cmd-man npm api

可以查看此npm模块的信息json串

http://registry.npmjs.org/cmd-man

Prerequisites

  • node >12.0.0

Install

yarn (最好使用yarn 感觉使用npm有些依赖会缺失)
yarn install
或者
npm i
npm install

npm或yarn全局安装与使用

全局npm安装或yarn安装

npm i -g cmd-man
或者
npm install -g cmd-man
或者 TODO yarn
yarn add global cmd-man

全局命令使用 使用下面命令

cmd-man
或者
cm

Usage

针对的是你使用源码的方式 安装好依赖 执行

其他情况 最好从npm全局安装 使用全局命令直接执行

yarn app
或者
yarn app -a
或者
npm run app (不可用)
或者
node ./bin/index.js
或者
node ./bin/index.js -a

Run tests

TODO

yarn run test
或者
jest

Done

npm run app-test
或
yarn run app-test

Links

https://github.com/tj/commander.js

https://codechina.csdn.net/mirrors/tj/commander.js

https://github.com/eslint/eslint

https://eslint.org/

http://eslint.cn/

http://eslint.cn/docs/rules/

https://github.com/feross/standard

https://github.com/standard/standard

https://hub.fastgit.org/standard/standard

https://hub.fastgit.org/standard/standard/blob/master/docs/RULES-zhcn.md

https://github1s.com/FrendEr/show-man/blob/HEAD/bin/show.js

https://www.npmjs.com/package/chalk

https://github.com/chalk/chalk

Author

👤 LC ahlc@sina.cn

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

Dependencies (2)

Dev Dependencies (9)

Package Sidebar

Install

npm i cmd-man

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

15.6 kB

Total Files

5

Last publish

Collaborators

  • ahviplc