mislav / hub

A command-line tool that makes git easier to use with GitHub.
https://hub.github.com/
MIT License
22.82k stars 2.2k forks source link

Provide functions for making competion scripts #629

Closed rominf closed 10 years ago

rominf commented 10 years ago

I'm a happy user of fish shell and I want to provide completions. For example I need to get list of all my repositories. I can do this by using GitHub API v3, but I think that having hub _myrepos (which returns my projects list) would be useful for writing completions and would minimize the amount of code duplication. Taskwarrior uses this approach, that's why I created completions for it very quickly.

mislav commented 10 years ago

Good idea. Hub likely won't offer output specifically tailored for completions, but it should definitely allow you to list your repositories on stdout and have you do whatever you need with that information. However, this functionality won't come in the next major release because we have other priorities right now. This kind of functionality is definitely on our long-term roadmap, so I'm closing this in the meantime. Thanks!