digitalmars.D.announce - DUB Bash Completion
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (4/4) Jul 07 2014 So I put together something that works in the majority of cases
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (6/10) Jul 07 2014 Very nice, I'll try this out this later. If you don't mind, we should
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (3/9) Jul 07 2014 Thx.
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (2/4) Jul 07 2014 Do you fix the PR?
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (4/8) Jul 09 2014 Shall I just commit the file (with you as the author of course), or do
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (4/7) Jul 10 2014 I'm glad :)
- =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= (3/7) Jul 13 2014 https://github.com/D-Programming-Language/dub/commit/6d4a387c62b0be271d6...
- Jordi Sayol via Digitalmars-d-announce (5/6) Jul 08 2014 I'm agree. I'll include it on deb packages as sun as it is in dub reposi...
- w0rp (5/10) Jul 13 2014 This is pretty great. Thanks for writing this!
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (5/8) Jul 13 2014 --config
- Mathias LANG (3/11) Jul 13 2014 Yeah it's a build subcommand. But you have to use dub describe to
- =?UTF-8?B?Ik5vcmRsw7Z3Ig==?= (4/5) Jul 14 2014 Yeah, that would be nice. Need to add som json parsing to the
- Matt Soucy (7/11) Jul 18 2014 So, I implemented that for the builtin ones for the fish shell...
So I put together something that works in the majority of cases even for sub command specific flags including package completion: https://github.com/nordlow/scripts/blob/master/dub-completion.bash Feedback appreciated!
Jul 07 2014
Am 07.07.2014 11:22, schrieb "Nordlöw":So I put together something that works in the majority of cases even for sub command specific flags including package completion: https://github.com/nordlow/scripts/blob/master/dub-completion.bash Feedback appreciated!Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution. BTW, corresponding GitHub issue: https://github.com/D-Programming-Language/dub/issues/154
Jul 07 2014
On Monday, 7 July 2014 at 10:58:02 UTC, Sönke Ludwig wrote:Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution.Very ok with me :)BTW, corresponding GitHub issue: https://github.com/D-Programming-Language/dub/issues/154Thx.
Jul 07 2014
On Monday, 7 July 2014 at 11:55:48 UTC, Nordlöw wrote:Do you fix the PR?BTW, corresponding GitHub issue: https://github.com/D-Programming-Language/dub/issues/154
Jul 07 2014
Am 07.07.2014 13:57, schrieb "Nordlöw":On Monday, 7 July 2014 at 11:55:48 UTC, Nordlöw wrote:Shall I just commit the file (with you as the author of course), or do you want to open a pull request? I've tried it now and it worked flawlessly so far.Do you fix the PR?BTW, corresponding GitHub issue: https://github.com/D-Programming-Language/dub/issues/154
Jul 09 2014
On Wednesday, 9 July 2014 at 16:12:01 UTC, Sönke Ludwig wrote:Shall I just commit the file (with you as the author of course), or do you want to open a pull request?You can commit the file. That's ok with me :)I've tried it now and it worked flawlessly so far.I'm glad :) Thx
Jul 10 2014
Am 10.07.2014 11:06, schrieb "Nordlöw":On Wednesday, 9 July 2014 at 16:12:01 UTC, Sönke Ludwig wrote:https://github.com/D-Programming-Language/dub/commit/6d4a387c62b0be271d6acf9e16cf81511077a67f Thanks again!Shall I just commit the file (with you as the author of course), or do you want to open a pull request?You can commit the file. That's ok with me :)
Jul 13 2014
El 07/07/14 12:58, Sönke Ludwig via Digitalmars-d-announce ha escrit:Very nice, I'll try this out this later. If you don't mind, we should put this into the DUB main repository and also get in touch with the package maintainers to include it in the standard distribution.I'm agree. I'll include it on deb packages as sun as it is in dub repository. Regards, -- Jordi Sayol
Jul 08 2014
On Monday, 7 July 2014 at 09:22:41 UTC, Nordlöw wrote:So I put together something that works in the majority of cases even for sub command specific flags including package completion: https://github.com/nordlow/scripts/blob/master/dub-completion.bash Feedback appreciated!This is pretty great. Thanks for writing this! 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.
Jul 13 2014
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?
Jul 13 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:Yeah it's a build subcommand. But you have to use dub describe to do the completion (it depends on the project file).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?
Jul 13 2014
On Monday, 14 July 2014 at 00:10:38 UTC, Mathias LANG wrote: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?complete --config= too, so you could tab complete
Jul 14 2014
On 07/14/2014 05:54 PM, "Nordlöw" wrote:On Monday, 14 July 2014 at 00:10:38 UTC, Mathias LANG wrote: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/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?complete --config= too, so you could tab complete
Jul 18 2014