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

25
docs/commands/any.md Normal file
View File

@ -0,0 +1,25 @@
# any?
Find if the table rows matches the condition.
## Usage
```shell
> any? <condition> {flags}
```
## Parameters
* `<condition>` the condition that must match
## Flags
* -h, --help: Display this help message
## Examples
Find if a service is not running
```shell
> echo [[status]; [UP] [DOWN] [UP]] | any? status == DOWN
```
Check if any of the values is odd
```shell
> echo [2 4 1 6 8] | any? ($it mod 2) == 1
```