зеркало из https://github.com/mozilla/gecko-dev.git
24b0aff27c
This fixes an issue from bug 1518586. It stemmed from the fact that I misunderstood how the 'parser' attribute was being used in mach commands and didn't do enough testing. This patch fixes things such that we check that 'parser' is not None, as well as add the completion targets from 'handler.arguments'. Differential Revision: https://phabricator.services.mozilla.com/D16501 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
docs | ||
mach | ||
README.rst | ||
bash-completion.sh | ||
setup.py |
README.rst
==== mach ==== Mach (German for *do*) is a generic command dispatcher for the command line. To use mach, you install the mach core (a Python package), create an executable *driver* script (named whatever you want), and write mach commands. When the *driver* is executed, mach dispatches to the requested command handler automatically. To learn more, read the docs in ``docs/``.