执行gist scrip
gist-exec的Python项目详细描述
安装
$ [sudo] pip install gist-exec
专业人士
- 从浏览器复制并粘贴gist url
脚本使用
command | ^{ |
---|---|
^{ | ^{ |
示例
执行gist脚本(需要shebang)
$ gist-exec https://gist.github.com/username/id
执行特定文件-单击gist文件并使用锚复制url
$ gist-exec https://gist.github.com/username/id#file-filename-sh