mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 06:58:36 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
28
docs/commands/random_bool.md
Normal file
28
docs/commands/random_bool.md
Normal file
@ -0,0 +1,28 @@
|
||||
---
|
||||
title: random bool
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Generate a random boolean value
|
||||
|
||||
## Signature
|
||||
|
||||
```> random bool --bias```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `--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