Expand description
Frictionless share helpers: copy text to the OS clipboard and open files/URLs.
Pure process orchestration — no third-party crates. Every function degrades
gracefully (returns false) when no suitable tool exists, so callers can fall
back to printing the text. Used by the Wrapped share flow (gain --copy / --open).
Functions§
- copy_
to_ clipboard - Copies
textto the system clipboard. Returnstrueon success. - open_
in_ browser - Opens
target(a file path or URL) in the default handler. Returnstrueif the launcher process spawned successfully (not whether the GUI actually opened).