mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 18:37:42 +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:
22
docs/commands/math-sum.md
Normal file
22
docs/commands/math-sum.md
Normal file
@ -0,0 +1,22 @@
|
||||
# math sum
|
||||
Finds the sum of a list of numbers or tables
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> math sum {flags}
|
||||
```
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
|
||||
## Examples
|
||||
Sum a list of numbers
|
||||
```shell
|
||||
> echo [1 2 3] | math sum
|
||||
```
|
||||
|
||||
Get the disk usage for the current directory
|
||||
```shell
|
||||
> ls --all --du | get size | math sum
|
||||
```
|
||||
|
Reference in New Issue
Block a user