跳转到主要内容

用于在http://linkode.org发布粘贴内容的命令行工具

项目描述

… 允许您将代码发送到 http://linkode.org 网络服务

$ 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

安装

$ sudo pip install linkodeit

用法

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

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解有关 安装包 的更多信息。

源分发

linkodeit-0.5.tar.gz (2.7 kB 查看哈希值)

支持者:

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误记录 StatusPage StatusPage 状态页面