pmb-cli
v0.1.0
Published
a scaffolding tool
Downloads
2
Readme
pmb-cli
a scaffolding tool
Installation
$ npm install pmb-cli
# or yarn
$ yarn add pmb-cli
Usage
const pmbCli = require('pmb-cli')
const result = pmbCli('w')
// result => '[email protected]'
API
pmbCli(input, options?)
input
- Type:
string
- Details: name string
options
host
- Type:
string
- Details: host string
- Default:
'zce.me'
CLI Usage
Use npx:
$ npx pmb-cli <input> [options]
Globally install:
$ npm install pmb-cli -g
# or yarn
$ yarn global add pmb-cli
$ pmb-cli --help
demo v0.1.0
Usage:
$ pmb-cli <input>
Commands:
<input> Sample cli program
For more info, run any command with the `--help` flag:
$ pmb-cli --help
Options:
--host <host> Sample options
-h, --help Display this message
-v, --version Display version number
Examples:
$ pmb-cli w --host zce.me
Contributing
- Fork it on GitHub!
- Clone the fork to your own machine.
- Checkout your feature branch:
git checkout -b my-awesome-feature
- Commit your changes to your own branch:
git commit -am 'Add some feature'
- Push your work back up to your fork:
git push -u origin my-awesome-feature
- Submit a Pull Request so that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!