jam-cloud/jam-ui/node_modules/chance/docs/usage/cli.md

20 lines
378 B
Markdown

# cli
To use Chance from the command line, install `chance-cli` globally with:
```bash
npm install -g chance-cli
```
Then invoke any generator by name followed by options, like so:
```bash
$ chance name --prefix true
Dr. Georgia Sanchez
$ chance latitude --min 12.34 --max 56.78
22.01836
```
More details in the [chance-cli README](https://github.com/chancejs/chance-cli)