UNPKG

378 BMarkdownView Raw
1# cli
2
3To use Chance from the command line, install `chance-cli` globally with:
4
5```bash
6npm install -g chance-cli
7```
8
9Then invoke any generator by name followed by options, like so:
10
11```bash
12$ chance name --prefix true
13Dr. Georgia Sanchez
14
15$ chance latitude --min 12.34 --max 56.78
1622.01836
17```
18
19More details in the [chance-cli README](https://github.com/chancejs/chance-cli)