-
-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Win, add config docs, add man, add dedup
- Loading branch information
1 parent
6fd7e6b
commit ad26acb
Showing
6 changed files
with
217 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
.\" Automatically generated by Pandoc 2.9.2.1 | ||
.\" | ||
.TH "" "" "" "" "" | ||
.hy | ||
.SH clipboard(1) \[en] cut, copy, and paste in the terminal | ||
.SS SYNOPSIS | ||
.PP | ||
\f[B]clipboard\f[R] [copy|cp][(id)] [cut|ct][id] [paste|p][(id)] (files) | ||
.PP | ||
\f[B]clipboard\f[R] [show|sh][(id)] [clear|clr][(id)] | ||
.PP | ||
(stdout/stderr) | \f[B]clipboard\f[R] [copy|cp][(id)] | ||
.PP | ||
\f[B]clipboard\f[R] [paste|p][(id)] | (stdin) | ||
.PP | ||
\f[B]clipboard\f[R] [paste|p][(id)] > (file) | ||
.PP | ||
\f[B]clipboard\f[R] | ||
.SS DESCRIPTION | ||
.PP | ||
\f[B]clipboard\f[R] lets you cut, copy, and paste files and piped data | ||
in the terminal. | ||
It lacks dependencies on any GUI clipboard system, although they can be | ||
enabled if you want. | ||
If available, you can substitute \f[B]cb\f[R] for \f[B]clipboard\f[R] as | ||
a shortcut. | ||
.PP | ||
Input a number into \f[B](id)\f[R] to select which clipboard you want to | ||
use. | ||
.SS FILES | ||
.PP | ||
\f[B]clipboard\f[R] stores its temporary data in the \f[B]Clipboard\f[R] | ||
subdirectory in a system-provided temporary folder or in the | ||
\f[B].clipboard\f[R] subdirectory in the user\[cq]s home folder. | ||
There may be a symlink \f[B]cb\f[R] in the same directory where you | ||
installed \f[B]clipboard\f[R]. | ||
.SS ENVIRONMENT VARIABLES | ||
.SS \f[B]CI\f[R] | ||
.PP | ||
Set this environment variable to make Clipboard overwrite existing items | ||
without a user prompt when pasting. | ||
This variable is intended for Continuous Integration scripts where a | ||
live human is not present to make decisions. | ||
.SS \f[B]FORCE_COLOR\f[R] | ||
.PP | ||
Set this environment variable to make Clipboard always show color | ||
regardless of what you set \f[B]NO_COLOR\f[R] to. | ||
.SS \f[B]TMPDIR\f[R] | ||
.PP | ||
Set this environment variable to the directory that Clipboard will use | ||
to hold the items you cut or copy. | ||
.SS \f[B]NO_COLOR\f[R] | ||
.PP | ||
Set this environment variable to make Clipboard not show any colors. | ||
.SS EXAMPLES | ||
.IP | ||
.nf | ||
\f[C] | ||
clipboard copy SomeFile.iso foobarDirectory | ||
clipboard cut5 MyDirectory | ||
cb cut69 bar.conf AnotherDirectory baz.txt | ||
\f[R] | ||
.fi | ||
.SS FULL DOCUMENTATION | ||
.PP | ||
Full documentation is available at | ||
\f[B]https://github.com/Slackadays/Clipboard\f[R]. | ||
.SS SUPPORT | ||
.PP | ||
Our Discord group is at \f[B]https://discord.gg/J6asnc3pEG\f[R]. | ||
.SS BUGS | ||
.PP | ||
Report all bugs to \f[B]https://github.com/Slackadays/Clipboard\f[R] or | ||
\f[B]https://discord.gg/J6asnc3pEG\f[R]. | ||
.SS COPYRIGHT | ||
.PP | ||
Copyright (c) 2022 Jackson Huff. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
clipboard(1) -- cut, copy, and paste in the terminal | ||
===== | ||
|
||
## SYNOPSIS | ||
|
||
**clipboard** [copy|cp][(id)] [cut|ct][id] [paste|p][(id)] (files) | ||
|
||
**clipboard** [show|sh][(id)] [clear|clr][(id)] | ||
|
||
(stdout/stderr) | **clipboard** [copy|cp][(id)] | ||
|
||
**clipboard** [paste|p][(id)] | (stdin) | ||
|
||
**clipboard** [paste|p][(id)] > (file) | ||
|
||
**clipboard** | ||
|
||
## DESCRIPTION | ||
|
||
**clipboard** lets you cut, copy, and paste files and piped data in the terminal. It lacks dependencies on any GUI clipboard system, although they can be enabled if you want. If available, you can substitute **cb** for **clipboard** as a shortcut. | ||
|
||
Input a number into **(id)** to select which clipboard you want to use. | ||
|
||
## FILES | ||
|
||
**clipboard** stores its temporary data in the **Clipboard** subdirectory in a system-provided temporary folder or in the **.clipboard** subdirectory in the user's home folder. There may be a symlink **cb** in the same directory where you installed **clipboard**. | ||
|
||
## ENVIRONMENT VARIABLES | ||
|
||
### **CI** | ||
|
||
Set this environment variable to make Clipboard overwrite existing items without a user prompt when pasting. This variable is intended for Continuous Integration scripts where a live human is not present to make decisions. | ||
|
||
### **FORCE_COLOR** | ||
|
||
Set this environment variable to make Clipboard always show color regardless of what you set **NO_COLOR** to. | ||
|
||
### **TMPDIR** | ||
|
||
Set this environment variable to the directory that Clipboard will use to hold the items you cut or copy. | ||
|
||
### **NO_COLOR** | ||
|
||
Set this environment variable to make Clipboard not show any colors. | ||
|
||
## EXAMPLES | ||
|
||
``` | ||
clipboard copy SomeFile.iso foobarDirectory | ||
clipboard cut5 MyDirectory | ||
cb cut69 bar.conf AnotherDirectory baz.txt | ||
``` | ||
|
||
## FULL DOCUMENTATION | ||
|
||
Full documentation is available at __https://github.com/Slackadays/Clipboard__. | ||
|
||
## SUPPORT | ||
|
||
Our Discord group is at __https://discord.gg/J6asnc3pEG__. | ||
|
||
## BUGS | ||
|
||
Report all bugs to __https://github.com/Slackadays/Clipboard__ or __https://discord.gg/J6asnc3pEG__. | ||
|
||
## COPYRIGHT | ||
|
||
Copyright (c) 2022 Jackson Huff. |
This file contains 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
This file contains 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