Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collove/pasteme-cli
✍️ CLI Tool to Interact w/ PasteMe RESTful Service
https://github.com/collove/pasteme-cli
cli cli-command cookiecutter hacktoberfest linux package pastebin pasteme pypi python python-package
Last synced: 17 days ago
JSON representation
✍️ CLI Tool to Interact w/ PasteMe RESTful Service
- Host: GitHub
- URL: https://github.com/collove/pasteme-cli
- Owner: collove
- License: mit
- Created: 2022-07-10T14:21:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T11:39:50.000Z (over 1 year ago)
- Last Synced: 2024-10-13T00:08:00.097Z (about 1 month ago)
- Topics: cli, cli-command, cookiecutter, hacktoberfest, linux, package, pastebin, pasteme, pypi, python, python-package
- Language: Python
- Homepage: https://pypi.org/project/pasteme-cli/
- Size: 83 KB
- Stars: 22
- Watchers: 0
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- Contributing: docs/contributing.rst
- License: LICENSE
Awesome Lists containing this project
README
``pasteme-cli`` Python Package
------------------------------`PasteMe `__ is a RESTful pastebin
service. Install this CLI tool and paste right from your command-line
interface... list-table::
:stub-columns: 1* - docs
- |docs|
* - tests
- |
|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|
| |commits-since|
.. |docs| image:: https://readthedocs.org/projects/pasteme-cli/badge/?style=flat
:target: https://pasteme-cli.readthedocs.io/
:alt: Documentation Status.. |version| image:: https://img.shields.io/pypi/v/pasteme-cli.svg
:alt: PyPI Package latest release
:target: https://pypi.org/project/pasteme-cli.. |wheel| image:: https://img.shields.io/pypi/wheel/pasteme-cli.svg
:alt: PyPI Wheel
:target: https://pypi.org/project/pasteme-cli.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pasteme-cli.svg
:alt: Supported versions
:target: https://pypi.org/project/pasteme-cli.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pasteme-cli.svg
:alt: Supported implementations
:target: https://pypi.org/project/pasteme-cli.. |commits-since| image:: https://img.shields.io/github/commits-since/collove/pasteme-cli/v1.0.6.svg
:alt: Commits since latest release
:target: https://github.com/collove/pasteme-cli/compare/v1.0.6...mainSetup & 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... code:: sh
$ pip install pasteme-cli
Usage
~~~~~.. code:: sh
$ pasteme [OPTIONS] file.py
PASTE ->To paste with the following attributes, run the command with the specified options and values.
.. code:: sh
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).. code:: sh
$ 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
~~~~~~~~~~~~~~~~~- `Hashnode `__
- `PlanetScale `__