Skip to main content

Red Hat Pastebin CLI tool

Project description

Red Hat Pastebin CLI Tool

This tool is made to allow Red Hat Employees to quickly and easily upload files to the Red Hat internal Pastebin instance (https://pastebin.test.redhat.com).

Instructions

Install with pip

$ pip3 install rhpaste

Usage:

$ cat myfile.txt | rhpaste
http://pastebin.test.redhat.com/xxxxxxx

Expanded usage:

$ rhpaste --help
usage: rhpaste [-h] [-f FORMAT] [-e EXPIRY]

Tool to upload text content from the cli to pastebin.test.redhat.com.

optional arguments:
  -h, --help            show this help message and exit
  -f FORMAT, --format FORMAT
                        format of text: text, html, bash, python...
  -e EXPIRY, --expiry EXPIRY
                        expiry of paste: f = Forever, m = Month, d = Day

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rhpaste-0.1.6.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rhpaste-0.1.6-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file rhpaste-0.1.6.tar.gz.

File metadata

  • Download URL: rhpaste-0.1.6.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for rhpaste-0.1.6.tar.gz
Algorithm Hash digest
SHA256 6eef15d8052a4f35c1dad4d85bfd518adfb27e70de254c439fdbcd8d65791e75
MD5 e9ba40d204cd4e020ba755fd37c0fbdc
BLAKE2b-256 cc67be11729bb32d67e1b0f19e33d7802116b129fd6c3f1fffdbda4e62bbc921

See more details on using hashes here.

File details

Details for the file rhpaste-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: rhpaste-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for rhpaste-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 c7dec434b2e9279b1831a06458a028a9c92a1a05d0d5691a257e7f7e6d36a8da
MD5 e7609eab9263410810ce5677734c3f73
BLAKE2b-256 0c619713202e4921aa78b448ef09e9a091643f949f670e98381102504df9fbec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page