Closed Bug 1518586 Opened 3 years ago Closed 3 years ago
Autocompletion for subcommands and arguments
Assignee: nobody → ahal
Status: NEW → ASSIGNED
I was looking for a good place to put documentation for enabling the bash completion script when I realized that the 'mach' documentation is targeted at tool developers rather than users. Seeing as this is the main 'mach' documentation and we want to make 'firefox-source-docs' the place to go for contribution information, we should endeavour to target end users with this documentation. This adds a very basic usage page which should be expanded upon, but is better than nothing. I changed the headers in 'index.rst' to use raw:: html so that they don't show up in the nav bar to the left (and subsequently block the *actually important* things from appearing).
Since we're calling into a mach command for the current completion implementation anyway (and incurring python startup penalties), we might as well move all the bash logic into the mach command. The new 'mach-completion' command was created in case there are scripts relying on the current behaviour of 'mach-commands'. Depends on D16254
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/5b651dea28d8 [mach] Add some basic usage docs r=nalexander https://hg.mozilla.org/integration/autoland/rev/729ea50e3045 [mach] Implement bash completion for subcommands and arguments r=nalexander
You need to log in before you can comment on or make changes to this bug.