NEW 196908
Provide zsh completions for webkit-patch
https://bugs.webkit.org/show_bug.cgi?id=196908
Summary Provide zsh completions for webkit-patch
Dean Jackson
Reported 2019-04-14 14:07:32 PDT
Provide zsh completions for webkit-patch
Attachments
WIP (2.14 KB, patch)
2019-04-14 14:10 PDT, Dean Jackson
no flags
Dean Jackson
Comment 1 2019-04-14 14:10:15 PDT
Dean Jackson
Comment 2 2019-04-14 14:11:38 PDT
Comment on attachment 367405 [details] WIP WIP - not for review I just did a couple of commands to see how easy it is. I haven't worked out how to be more tricky - like ensuring that the last argument looks like a BUG or ATTACHMENT id. I don't know how complete we'd want to get before adding this.
Radar WebKit Bug Importer
Comment 3 2019-04-14 14:14:25 PDT
Tim Horton
Comment 4 2019-04-14 14:21:00 PDT
(In reply to Dean Jackson from comment #2) > Comment on attachment 367405 [details] > WIP > > WIP - not for review You can't tell me what to do! I wonder if we can generate these from argparse somehow :)
Dean Jackson
Comment 5 2019-04-15 09:55:34 PDT
(In reply to Tim Horton from comment #4) > (In reply to Dean Jackson from comment #2) > > Comment on attachment 367405 [details] > > WIP > > > > WIP - not for review > > You can't tell me what to do! > > > > I wonder if we can generate these from argparse somehow :) I thought about that. I also wondered if we could parse the output of "command -h" and "help subcommand"
Note You need to log in before you can comment on or make changes to this bug.