Skip to main content

Command-line utility to publish pastes at http://linkode.org

Project description

… lets you send your code to http://linkode.org web service

$ linkodeit -h
usage: linkodeit [-h] [-p PARENT | -g GET] [-i INPUT] [-t TYPE] [-o]
                 [-r REVISION] [-v] [--version]

Paste a text on linkode.org

optional arguments:
  -h, --help            show this help message and exit
  -p PARENT, --parent PARENT
                        linkode id of its parent
  -g GET, --get GET     linkode id to get is parent to this new one
  -i INPUT, --input INPUT
                        text file to be pasted on linkode.org
  -t TYPE, --type TYPE  the type of the content (plain text, Python, diff, C,
                        etc.)
  -o, --open            open the default browser with the link
  -r REVISION, --revision REVISION
                        the revision number of the node that is parent to this
                        new one
  -v, --verbose         show all the debug information
  --version             show the version and exit

Installation

$ sudo pip install linkodeit

Usage

$ echo "Hello world" | linkodeit
http://linkode.org/mqNUYxvinPK9dfHeYa0zF2

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

linkodeit-0.5.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file linkodeit-0.5.tar.gz.

File metadata

  • Download URL: linkodeit-0.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for linkodeit-0.5.tar.gz
Algorithm Hash digest
SHA256 a676e38ae0127d11217e18cbdcc007cbfad70fed875986bf78fdd86f20e3b8df
MD5 17a529b63fadca21bf0d747b2ff6f012
BLAKE2b-256 51f3bdb2686fb21812a25432ee45f467fcecd42b9e0d4280f8cb20ff3eff97fd

See more details on using hashes here.

Provenance

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