Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help not available #8

Open
sergeevabc opened this issue Dec 3, 2022 · 3 comments
Open

Help not available #8

sergeevabc opened this issue Dec 3, 2022 · 3 comments

Comments

@sergeevabc
Copy link

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
@amilajack
Copy link
Owner

hey, for now help is available via cb with no flags. I'll add support for --help soon

@0-issue
Copy link

0-issue commented Jul 19, 2023

@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...

@amilajack
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants