A CLI tool to use Pastegram from the terminal
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pastegram-cli-1.0.0.tar.gz
(3.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pastegram-cli-1.0.0.tar.gz.
File metadata
- Download URL: pastegram-cli-1.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54b1014ec1e923339e3b83293d3d286d844131c239153ca21080e6309bbee90e
|
|
| MD5 |
5d1798d7d79c16b0ae59434b4d155129
|
|
| BLAKE2b-256 |
87c25c2d15ec4bdf96b5760620b1fdcd4cf1a8f3785d5c6b9352398ce379a171
|
File details
Details for the file pastegram_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pastegram_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ce927c0842044c3ef469854fc9a2b85fbefedb85c9eda2a13ef988483f914f3
|
|
| MD5 |
60093d9be2af8ff012311f4442d9e4cb
|
|
| BLAKE2b-256 |
83ce7d47803059da716d6a679825cbb23d606dafe74a6f5459ca663fe6fa3bd3
|