digitalmars.D - dub shell completion
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (1/1) Jul 06 2014 Have anybody cooked up some bash completion for dub?
- Jacob Carlborg (4/5) Jul 06 2014 That would be nice to have.
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (5/6) Jul 07 2014 So I put together something that works in the majority of cases
- Jacob Carlborg (4/7) Jul 07 2014 Awesome, I'll have to give it a try later.
- Iain Buclaw via Digitalmars-d (3/4) Jul 07 2014 What's the list of switches accepted by dub?
- Jacob Carlborg (5/7) Jul 07 2014 I'm pretty sure that "dub --help" only shows the global options. You
Have anybody cooked up some bash completion for dub?
Jul 06 2014
On 06/07/14 20:09, "Nordlöw" wrote:Have anybody cooked up some bash completion for dub?That would be nice to have. -- /Jacob Carlborg
Jul 06 2014
On Monday, 7 July 2014 at 06:26:06 UTC, Jacob Carlborg wrote:That would be nice to have.So I put together something that works in the majority of cases even for command specific flags and completion registered packages. https://github.com/nordlow/scripts/blob/master/dub-completion.bash
Jul 07 2014
On 07/07/14 11:14, "Nordlöw" wrote:So I put together something that works in the majority of cases even for command specific flags and completion registered packages. https://github.com/nordlow/scripts/blob/master/dub-completion.bashAwesome, I'll have to give it a try later. -- /Jacob Carlborg
Jul 07 2014
On 6 July 2014 19:09, "Nordlöw" <digitalmars-d puremagic.com> wrote:Have anybody cooked up some bash completion for dub?What's the list of switches accepted by dub? I'm convinced that --help doesn't show them all. ;)
Jul 07 2014
On 07/07/14 09:26, Iain Buclaw via Digitalmars-d wrote:What's the list of switches accepted by dub? I'm convinced that --help doesn't show them all. ;)I'm pretty sure that "dub --help" only shows the global options. You have to run "dub <command> --help" to find the flags of a specific command. -- /Jacob Carlborg
Jul 07 2014