Repository navigation
One clipboard flag: -c/--clipboard, the clipboard instead of the terminal - #71
Merged
Merged
Conversation
…inal --from-clipboard, --to-clipboard and --copy-link each named a direction, and next to each other they never said what moved. -c/--clipboard now means one thing on every command: what you would type comes from the clipboard, what you would read goes there. - share -c: at a terminal with no files and no --text, the clipboard's text is shared instead of asked for; the link goes on the clipboard and is not printed (the owner link is). With --code the code is printed. - open -c: the link from the clipboard instead of the prompt, the text onto it. Files are saved as usual; --json still prints. - receive <code> -c: the text, or with --link the link, onto the clipboard. The code is never taken from it. - status, send, delete -c: the link from the clipboard. Files, -t, a link argument or a pipe still win, and an empty pipe is an error, never a reason to share the clipboard. A clipboard without a link is refused without showing what it holds. The terminal tests run the two-computer flow, share -c --code and receive <code> -c, against a clipboard in a file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--from-clipboard, --to-clipboard and --copy-link each named a direction,
and next to each other they never said what moved. -c/--clipboard now
means one thing on every command: what you would type comes from the
clipboard, what you would read goes there.
text is shared instead of asked for; the link goes on the clipboard and
is not printed (the owner link is). With --code the code is printed.
onto it. Files are saved as usual; --json still prints.
-c: the text, or with --link the link, onto theclipboard. The code is never taken from it.
Files, -t, a link argument or a pipe still win, and an empty pipe is an
error, never a reason to share the clipboard. A clipboard without a link
is refused without showing what it holds. The terminal tests run the
two-computer flow, share -c --code and receive
-c, against aclipboard in a file.