Skip to content

Add copyToClipboard to bitcore-cli#4196

Open
kajoseph wants to merge 2 commits into
bitpay:masterfrom
kajoseph:cliCopyToClipboard
Open

Add copyToClipboard to bitcore-cli#4196
kajoseph wants to merge 2 commits into
bitpay:masterfrom
kajoseph:cliCopyToClipboard

Conversation

@kajoseph

@kajoseph kajoseph commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

Copying public keys and invite codes during the TSS wallet setup can be cumbersome since the @clack/prompts cli interface adds formatting for multi-line outputs. This PR adds a copyToClipboard utility function that's implemented in the TSS wallet creation flow.

Changelog

  • Added copyToClipboard utility + integrated into TSS wallet creation flow
  • Fixed a few minor bugs:
    • TSS error handling
    • Bold text resetting
    • Null coalescing if txp.actions doesn't exist
    • Better --help info: removed --list option (which didn't work)

Testing Notes


Checklist

  • I have read CONTRIBUTING.md and verified that this PR follows the guidelines and requirements outlined in it.

@kajoseph kajoseph added the bitcore-cli This pull request modifies the bitcore-cli package label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bitcore-cli This pull request modifies the bitcore-cli package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant