July 14, 2014
On Sunday, 13 July 2014 at 22:11:17 UTC, Nordlöw wrote:
> On Sunday, 13 July 2014 at 20:15:06 UTC, w0rp wrote:
>> I suppose one extra step you could go would be to somehow complete --config= too, so you could tab complete --config=foo and --config=bar or something.
>
>     --config
>
> is not documented by
>
>     dub -h
>
> Is it a sub command flag?

Yeah it's a build subcommand. But you have to use dub describe to do the completion (it depends on the project file).
July 14, 2014
On Monday, 14 July 2014 at 00:10:38 UTC, Mathias LANG wrote:
>>> complete --config= too, so you could tab complete

Yeah, that would be nice. Need to add som json parsing to the bash logic. Any suggestions on how to most easily and portably do that?
July 18, 2014
On 07/14/2014 05:54 PM, "Nordlöw" wrote:
> On Monday, 14 July 2014 at 00:10:38 UTC, Mathias LANG wrote:
>>>> complete --config= too, so you could tab complete
> 
> Yeah, that would be nice. Need to add som json parsing to the bash logic. Any suggestions on how to most easily and portably do that?

So, I implemented that for the builtin ones for the fish shell... It's manually implemented, but easy enough to extend.

https://github.com/D-Programming-Language/dub/pull/375

-- 
Matt Soucy
http://msoucy.me/
1 2
Next ›   Last »