mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
23 lines
333 B
Markdown
23 lines
333 B
Markdown
|
# clip
|
||
|
Copy the contents of the pipeline to the copy/paste buffer.
|
||
|
|
||
|
## Usage
|
||
|
```shell
|
||
|
> clip {flags}
|
||
|
```
|
||
|
|
||
|
## Flags
|
||
|
* -h, --help: Display this help message
|
||
|
|
||
|
## Examples
|
||
|
Save text to the clipboard
|
||
|
```shell
|
||
|
> echo 'secret value' | clip
|
||
|
```
|
||
|
|
||
|
Save numbers to the clipboard
|
||
|
```shell
|
||
|
> random integer 10000000..99999999 | clip
|
||
|
```
|
||
|
|