clipboard
clipboard copied to clipboard
Help not available
Windows 7 x64, cb 0.0.1
$ cb --help
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', src/main.rs:35:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
hey, for now help is available via cb with no flags. I'll add support for --help soon
@amilajack cb with no flags prints the last contents copied to clipboard in terminal. To recreate:
$ echo "helloworld" | cb
$ cb
helloworld
Btw, this is the only tool on macOS that preserves escape sequences when doing a copy from stdin. macOS's pbcopy is not dev-friendly as it filters out escape sequences. Thanks! hopefully this will be maintained...
glad you like the project :)
the behavior of cb printing to stdout is by design to allow the use cases in the readme
https://github.com/amilajack/clipboard#usage