blob: 7f6726216a823fc2eebbf8a70e1b0ee2445441e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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)
|