A CLI pastebin tool.
Project description
PasteMe is a RESTful pastebin service. Install this CLI tool and paste right from your command-line interface.
docs |
|
---|---|
tests |
|
package |
Setup & Installation
Since PasteMe provides API endpoints, you can install the following Python package and paste your source codes and code snippets using your CLIs or Terminals.
$ pip install pasteme-cli
Usage
$ pasteme [OPTIONS] file.py
PASTE -> <URL>
To paste with the following attributes, run the command with the specified options and values.
title -> "Here is the Title" (default: Untitled)
line_start -> 20 (default: First line)
line_end -> 35 (defalut: Last line)
language -> C++ (default: PlainText)
expires at -> One month (default: One week)
$ pasteme --start 20 --end 35 --title "Here is the Title" --language cpp -x 1m program.cpp
You will have your 15 lines of code highlighted in C++ ready to share. Also visit the manual by typing $ pasteme --help and you have more hints on the options and arguments.
License
PasteMe is being licensed under the MIT License.
Special Thanks to
Drop support for Python 3.6
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
Built Distribution
Hashes for pasteme_cli-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3ef704d9c6cf27033307d1d21cb0cc60b2f93cfdf8264b0a06baba7c463ae0 |
|
MD5 | 58785a7776f1322c71e99bdac07035cb |
|
BLAKE2b-256 | 4bf33296b7e9db92ba871b2119a54f9a663e9294d7abccc33066d9717c86d144 |