gecko-dev/python/mach
Andrew Halberstadt 8905ad4bab Bug 1518586 - [mach] Implement bash completion for subcommands and arguments r=nalexander
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

Differential Revision: https://phabricator.services.mozilla.com/D16255

--HG--
extra : moz-landing-system : lando
2019-01-11 15:28:49 +00:00
..
docs Bug 1518586 - [mach] Add some basic usage docs r=nalexander 2019-01-11 03:34:30 +00:00
mach Bug 1518586 - [mach] Implement bash completion for subcommands and arguments r=nalexander 2019-01-11 15:28:49 +00:00
README.rst
bash-completion.sh Bug 1518586 - [mach] Implement bash completion for subcommands and arguments r=nalexander 2019-01-11 15:28:49 +00:00
setup.py Backed out 3 changesets (bug 1388013) for build bustages e.g. ../python/mozbuild/mozpack/test/test_files.py on a CLOSED TREE 2018-05-31 11:48:19 +03:00

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/``.