You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
378 B
20 lines
378 B
4 weeks ago
|
# 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)
|