gecko-dev/python/mach
Ricky Stewart 233ffddc4d Bug 1632974 - Handle case where mach Command conditions don't have a `__name__` attribute r=glandium
There are `conditions` in tree that are callables but which don't have a `__name__` attribute; for example, `functools.partial` instances don't have a `__name__` since they're effectively anonymous functions. If you get to this branch and one of your `conditions` are that kind of object then you'll get a confusing error message instead of the understandable one we're trying to produce here, so account for that possibility.

Differential Revision: https://phabricator.services.mozilla.com/D72957
2020-04-29 19:32:14 +00:00
..
docs
mach Bug 1632974 - Handle case where mach Command conditions don't have a `__name__` attribute r=glandium 2020-04-29 19:32:14 +00:00
README.rst
bash-completion.sh
setup.cfg
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/``.