pastegram-cli
A CLI tool to use Pastegram from the terminal
Installing
sudo pip install pastegram-cli # install globally
Examples
Uploading
pastegram-cli upload my-file.txt
or read from STDIN
# implicit upload
pastegram-cli < my-file.txt
or
cat my-file.txt | pastegram-cli
Fetching a paste
pastegram-cli fetch "https://paste.uploadgram.me/61d7737a9ae36g#AmX76Y3RDgh_xfHB2ktgVYcT76jjCXMmMs7xPYSbqoc"
# outputs to STDOUT
or write the output to a file
pastegram-cli fetch "https://paste.uploadgram.me/61d7737a9ae36g#AmX76Y3RDgh_xfHB2ktgVYcT76jjCXMmMs7xPYSbqoc" -o the-paste.txt
Deleting a paste
pastegram-cli delete TOKEN
# TOKEN is the 49 characters long string you get after uploading a paste
Release files for pastegram-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pastegram-cli-1.0.0.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pastegram_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / pastegram-cli-1.0.0.tar.gz
| Download URL | pastegram-cli-1.0.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54b1014ec1e923339e3b83293d3d286d844131c239153ca21080e6309bbee90e
|
|
BLAKE2b-256 checksum How to use checksums |
87c25c2d15ec4bdf96b5760620b1fdcd4cf1a8f3785d5c6b9352398ce379a171
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / pastegram_cli-1.0.0-py3-none-any.whl
| Download URL | pastegram_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ce927c0842044c3ef469854fc9a2b85fbefedb85c9eda2a13ef988483f914f3
|
|
BLAKE2b-256 checksum How to use checksums |
83ce7d47803059da716d6a679825cbb23d606dafe74a6f5459ca663fe6fa3bd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|