owenthereal / gh

Fast GitHub command line client (deprecated). gh has been merged into https://github.com/github/hub, see https://github.com/github/hub/issues/475 for more info
MIT License
721 stars 48 forks source link

Support gist #156

Open owenthereal opened 10 years ago

owenthereal commented 10 years ago
$ gh gist -d "awesome" file1.go file2.rb

$ gh gist file1.go file2.rb
# open editor for description

$ gh gist file.go
# file.go doesn't exist
# open editor for edit

We could do better than this.

dgryski commented 10 years ago

API docs: http://developer.github.com/v3/gists/

owenthereal commented 10 years ago

create gist in https://github.com/jingweno/gh/pull/165