mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-27 13:40:37 -10:00
For mach commands that have 'pass_context=True', we should implicitly add the handler instance to the context. This will give mach command implementations an easy way to access things like the command/subcommand names, the parser, argv list, etc. Differential Revision: https://phabricator.services.mozilla.com/D20521
==== 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/``.