Autogenerate missing docs (#3514)

* Autogenerate missing docs

* Update ansi.md

* Rename question mark command docs

* Delete empty?.md
This commit is contained in:
JT
2021-05-30 12:57:04 +12:00
committed by GitHub
parent ed515cbc0c
commit bff81f24aa
155 changed files with 3713 additions and 0 deletions

32
docs/commands/do.md Normal file
View File

@ -0,0 +1,32 @@
# do
Runs a block, optionally ignoring errors.
## Usage
```shell
> do <block> ...args {flags}
```
## Parameters
* `<block>` the block to run
* ...args: the parameter(s) for the block
## Flags
* -h, --help: Display this help message
* -i, --ignore-errors: ignore errors as the block runs
## Examples
Run the block
```shell
> do { echo hello }
```
Run the block and ignore errors
```shell
> do -i { thisisnotarealcommand }
```
Run the block with a parameter
```shell
> do { |x| $x + 100 } 55
```