rpaste1
A cli tool for rustypaste
Usage
rpaste [OPTIONS]
<FILE(s)>
Options
-
-h, --help -
prints help information
-
-v, --version -
prints version information
-
-V, --server-version -
retrieves the server version
-
-l, --list -
lists files on the server
-
-d, --delete -
delete files from server
-
-o, --oneshot -
generates one shot links
-
-p, --pretty -
prettifies the output
-c, --config CONFIG sets the configuration file
-s, --server SERVER sets the address of the rustypaste server
-
-a, --auth TOKEN -
sets the authentication token
-
-u, --url URL -
sets the URL to shorten
-
-r, --remote URL -
sets the remote URL for uploading
-
-e, --expire TIME -
sets the expiration time for the link
-
-n, --filename NAME -
sets and overrides the filename
Configuration
A TOML file can be used to configure rpaste settings.
[server]-
- •
-
address: address of the rustypaste server
- •
-
auth_token: authentication token
[paste]-
- •
-
oneshot: generate one shot links if set to true
- •
-
expire: expiration time for the links
[style]-
- •
-
prettify: prettify the output if set to true
About
rustypaste-cli is maintained by Orhun Parmaksız <[email protected]>, and released under the MIT license.
See the project homepage at <https://github.com/orhun/rustypaste-cli> for full documentation.