Code Monkey home page Code Monkey logo

pasteme-cli's Introduction

pasteme-cli Python Package

PasteMe is a RESTful pastebin service. Install this CLI tool and paste right from your command-line interface.

docs Documentation Status
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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.