-
Notifications
You must be signed in to change notification settings - Fork 4
Command Line options
Mark Polyakov edited this page Oct 20, 2017
·
1 revision
Anypaste has built-in documentation for command-line options, which can be found by running anypaste -h
. This is a copy-paste of the help message as of 2017-10-19
Usage: anypaste [-ifh] [-p plugin] [-c config_file_path] [file1 [file2 ...]]
Upload `file`s or stdin to an automatically selected hosting sites.
You can specify `-` as a file to read from stdin. If no files are
listed, it will automatically attempt to use stdin.
OPTIONS:
-i Enable interactive mode. Will prompt for important options.
Combining this with options intended for non-interactive
use (e.g, -p) has undefined behavior. If you are reading
your file from stdin, -i might not work properly.
-p Specify a plugin instead of automatic selection. Uses fuzzy
matching (e.g, `gfy` search will match `gfycat` plugin).
Only searches compatible plugins by default.
-f Do not check plugin compatibility. Without -p, it uses the
first listed plugin in the config file. Primary meant for
use with -p
-x If plugin specified using -p or interactive mode is the
exact name of an executable, it will be used, even if it is
not listed in the configuration file.
-c Use the specified configuration file instead of the default
one located at $XDG_CONFIG_HOME/anypaste.conf
-h, --help Display this help text.
Plugins may support additional options not listed here.