|
|
@ -141,30 +141,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="collapse mt-3" style="text-align: left !important; margin-left:25%;" id="script-help">
|
|
|
|
<div class="collapse mt-3" style="text-align: left !important; margin-left:25%;" id="script-help">
|
|
|
|
<br /><pre>Usage: pastey [-h] [-v] [-f] -p param_value arg1 [arg2...]
|
|
|
|
<br /><pre>Usage: pastey [-h] [-e] [-f INFILE] [-s] [-t title] [-x time_hrs] [-- command]
|
|
|
|
|
|
|
|
|
|
|
|
Script description here.
|
|
|
|
CLI interface to pastey.
|
|
|
|
|
|
|
|
|
|
|
|
Available options:
|
|
|
|
Available options:
|
|
|
|
|
|
|
|
|
|
|
|
-h, --help Print this help and exit
|
|
|
|
-h, --help Print this help and exit
|
|
|
|
-v, --verbose Print script debug info
|
|
|
|
-e, --encrypt Encrypt the paste content
|
|
|
|
-c, --content Pass the content of the paste in a simple argument
|
|
|
|
-f, --file Read the content from this file.
|
|
|
|
-e, --encrypt Encrypt the paste content
|
|
|
|
-s, --single Create a paste that expires after the first view
|
|
|
|
-f, --file Read the content from this file. If file is "-", read from stdin
|
|
|
|
-t, --title Set the title of the paste
|
|
|
|
-s, --single Create a paste that expires after the first view
|
|
|
|
-x, --expiration
|
|
|
|
-t, --title Set the title of the paste
|
|
|
|
Set the time in hours after which the paste expires
|
|
|
|
-x, --expiration
|
|
|
|
(Default is expiration is disabled)
|
|
|
|
Set the time in hours after which the paste expires
|
|
|
|
|
|
|
|
|
|
|
|
-- Stop further option parsing
|
|
|
|
-- Stop further option parsing
|
|
|
|
Arguments passed after the -- option are evaluated
|
|
|
|
Arguments passed after the -- option are evaluated
|
|
|
|
as a command, and that command's output is pasted.
|
|
|
|
as a command, and that command's output is pasted.
|
|
|
|
The full command is used as the title.
|
|
|
|
The full command is used a the title.
|
|
|
|
|
|
|
|
|
|
|
|
If zero arguments are passed,
|
|
|
|
If zero arguments are passed,
|
|
|
|
or none of --file or -- are passed,
|
|
|
|
or none of --content, --file or -- are passed,
|
|
|
|
content is read from stdin.</pre>
|
|
|
|
content is read from stdin.</pre>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|