mirror of
https://github.com/nushell/nushell.git
synced 2025-08-24 12:26:09 +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:
38
docs/commands/char.md
Normal file
38
docs/commands/char.md
Normal file
@@ -0,0 +1,38 @@
|
||||
# char
|
||||
Output special characters (e.g., 'newline').
|
||||
|
||||
## Usage
|
||||
```shell
|
||||
> char (character) ...args {flags}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
* `(character)` the name of the character to output
|
||||
* ...args: multiple Unicode bytes
|
||||
|
||||
## Flags
|
||||
* -h, --help: Display this help message
|
||||
* -l, --list: List all supported character names
|
||||
* -u, --unicode: Unicode string i.e. 1f378
|
||||
|
||||
## Examples
|
||||
Output newline
|
||||
```shell
|
||||
> char newline
|
||||
```
|
||||
|
||||
Output prompt character, newline and a hamburger character
|
||||
```shell
|
||||
> echo (char prompt) (char newline) (char hamburger)
|
||||
```
|
||||
|
||||
Output Unicode character
|
||||
```shell
|
||||
> char -u 1f378
|
||||
```
|
||||
|
||||
Output multi-byte Unicode character
|
||||
```shell
|
||||
> char -u 1F468 200D 1F466 200D 1F466
|
||||
```
|
||||
|
Reference in New Issue
Block a user