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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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