一个通用的pastebin发布工具
paster的Python项目详细描述
a通用的pastebin发布工具
支持的粘贴服务:
- Dpaste (http://dpaste.com/) A django base simple and popular pastebin
- Pastebin (http://pastebin.com/) The very famous pastebin. Complete version 3 api supported
轻松添加对更多服务的支持
用法
如需帮助,请执行pstr-h,pstr paste-h,pstr list-h。
示例
粘贴一些内容
>;pstr粘贴“部分内容”
通过熟悉的管道粘贴
>;git diff pstr粘贴
粘贴到服务粘贴箱
>;pstr paste-s pastebin“部分内容”
粘贴文件内容(管道支持后不推荐使用)
>;pstr paste-f path/to/file/filename.extension
粘贴git diff(管道支架后不推荐使用)
>;pstr粘贴-c“git diff”
列出可用的语法/语言/格式
>;pstr列表语法
列出可用的Pastebin服务
>;PSTR列表服务
对于懒惰的人
- Alias pstr paste to something like p and do echo foo | p
- Use a config file to store settings