mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 04:45:04 +02:00
Autogenerate missing docs (#3514)
* Autogenerate missing docs * Update ansi.md * Rename question mark command docs * Delete empty?.md
This commit is contained in:
23
docs/commands/random-bool.md
Normal file
23
docs/commands/random-bool.md
Normal file
@ -0,0 +1,23 @@
|
||||
# random bool
|
||||
Generate a random boolean value
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> random bool {flags}
|
||||
```
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -b, --bias <number>: Adjusts the probability of a "true" outcome
|
||||
|
||||
## Examples
|
||||
Generate a random boolean value
|
||||
```shell
|
||||
> random bool
|
||||
```
|
||||
|
||||
Generate a random boolean value with a 75% chance of "true"
|
||||
```shell
|
||||
> random bool --bias 0.75
|
||||
```
|
||||
|
Reference in New Issue
Block a user