mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:55:55 +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:
26
docs/commands/str-trim.md
Normal file
26
docs/commands/str-trim.md
Normal file
@ -0,0 +1,26 @@
|
||||
# str trim
|
||||
trims text
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> str trim ...args {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* ...args: optionally trim text by column paths
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -c, --char <string>: character to trim (default: whitespace)
|
||||
|
||||
## Examples
|
||||
Trim whitespace
|
||||
```shell
|
||||
> echo 'Nu shell ' | str trim
|
||||
```
|
||||
|
||||
Trim a specific character
|
||||
```shell
|
||||
> echo '=== Nu shell ===' | str trim -c '=' | str trim
|
||||
```
|
||||
|
Reference in New Issue
Block a user