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