Crates.io | nu_plugin_clipboard |
lib.rs | nu_plugin_clipboard |
version | 0.99.1 |
source | src |
created_at | 2023-11-15 05:36:39.362093 |
updated_at | 2024-11-03 09:35:59.306944 |
description | A nushell plugin to copy text into clipboard or get text from it. |
homepage | https://github.com/FMotalleb/nu_plugin_clipboard |
repository | https://github.com/FMotalleb/nu_plugin_clipboard |
max_upload_size | |
id | 1036154 |
size | 81,429 |
A nushell plugin to copy text into clipboard or get text from it.
clipboard copy
: copy a text that's given as input
--{disable or enable}-daemon
(-d
): spawn a daemon that manages clipboard (if copy is not working try using this flag)clipboard paste
: returns current text value of clipboard~> echo "test value" | clipboard copy
~> clipboard paste | echo $in
clipboard paste | from json
~> $env | to json | clipboard copy
~> clipboard paste | from json
~> ps | to json | clipboard copy
~> clipboard paste | from json
git clone https://github.com/FMotalleb/nu_plugin_clipboard.git
nupm install --path nu_plugin_clipboard -f
supported features:
--daemon
flagor compile manually
git clone https://github.com/FMotalleb/nu_plugin_clipboard.git
cd nu_plugin_clipboard
cargo build -r
plugin add target/release/nu_plugin_clipboard
cargo install nu_plugin_clipboard
plugin add ~/.cargo/bin/nu_plugin_clipboard