desc "delete NAME", "delete public repository NAME from your github account"
def delete(name)
authenticated do
user = Api.api.user
repository = user.repositories.find(name)
say "Repository #{name} was deleted successfully" if repository.delete!
end
end
kristian-mandrups-macbook-pro:lib kristianconsult$ thor github:repo:delete cool_stuff
W, [2010-04-05T15:47:58.330303 #22724] WARN -- : Using in memory store
Repository cool_stuff was deleted successfully
But looking at my github account, the repo was not deleted.
Is there a better way I can determine if the repository was deleted? What does the warning mean?
It creates a repository ok with this warning. How do I disable the in memory store?
But looking at my github account, the repo was not deleted. Is there a better way I can determine if the repository was deleted? What does the warning mean? It creates a repository ok with this warning. How do I disable the in memory store?
Thanks!