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

2 new commandline arguments: --clipin and --clipout #762

Closed
wants to merge 1 commit into from

Conversation

8go
Copy link
Contributor

@8go 8go commented Sep 24, 2024

Added 2 new features, implemented as 2 new command line arguments:

  • --clipin: similar to --stdin, reads arguments from clipboard
  • --clipout: for selected commands writes output additionally to clipboard
  • example use case: hwi -t $DEVICE --clipin --clipout signtx # works well in combination with e.g. Bitcoin Core wallet

- --clipin: similar to --stdin, reads arguments from clipboard
- --clipout: for selected commands writes output additionally to clipboard
- example use case: hwi -t $DEVICE --clipin --clipout signtx # works well in combination with e.g. Bitcoin Core wallet
@achow101
Copy link
Member

achow101 commented Dec 4, 2024

Tend towards NACK

AFAIK, there's no guaranteed cross platform way to read the clipboard, and I would rather not have to have some dependency that tries to guess for every possible platform. If you want to use from clipboard, you can use whatever clipboard commands are relevant for your system and pipe the output into HWI.

@achow101 achow101 closed this Dec 4, 2024
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

Successfully merging this pull request may close these issues.

3 participants