Metadata-Version: 2.1
Name: pasteme-cli
Version: 0.0.6
Summary: A CLI pastebin tool.
Home-page: https://github.com/collove/pasteme-cli
Author: Sadra Yahyapour
Author-email: lnxpylnxpy@gmail.com
License: MIT
Project-URL: Documentation, https://pasteme-cli.readthedocs.io/
Project-URL: Changelog, https://pasteme-cli.readthedocs.io/en/latest/changelog.html
Project-URL: Issue Tracker, https://github.com/collove/pasteme-cli/issues
Keywords: pastebin,cli,tool,linux
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Requires-Python: >=3.6
License-File: LICENSE
License-File: AUTHORS.rst

``pasteme-cli`` Python Package
------------------------------

`PasteMe <https://github.com/collove/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/v0.0.6.svg
    :alt: Commits since latest release
    :target: https://github.com/collove/pasteme-cli/compare/v0.0.6...main

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.

.. code:: shell

   $ pip install pasteme-cli

Usage
~~~~~

.. code:: shell

   $ pasteme [OPTIONS] file.py
   PASTE -> <URL>

To paste with the following attributes, run the command with the specified options and values.

.. code:: shell

   title      -> "Here is the Title"
   line_start -> 20
   line_end   -> 35
   language   -> C++

.. code:: shell

   $ pasteme --start 20 --end 35 --title "Here is the Title" --language cpp 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 <https://github.com/collove/pasteme/blob/main/LICENSE>`__.

Special Thanks to
~~~~~~~~~~~~~~~~~

-  `Hashnode <https://hashnode.com/>`__
-  `PlanetScale <https://planetscale.com/>`__


