MaximeD / gost

A gist client in go
MIT License
72 stars 5 forks source link

UPDATE delete to accept both id or full url #27

Closed MaximeD closed 10 years ago

MaximeD commented 10 years ago

When we want do delete a gist, we can do

gost -D b9603076d61bb5287b52

But this will fail if full url is passed eg.

gost -D https://gist.github.com/b9603076d61bb5287b52

gost should be able to handle both.

REF: #26