mafw.devtools.cli.toolchain

Toolchain management CLI commands.

This package provides the devtools toolchain Click command group and its subcommands (check, update, verify, bootstrap, list). The group-level --include-host / --exclude-host flags control whether host-category tools participate in processing, while the common_options() decorator provides repeatable -i / --include and -e / --exclude options for per-tool name filtering.

The default ToolRegistry is populated via get_default_registry() and stored in the Click context for access by subcommands.

mafw.devtools.cli.toolchain.common_options(fn: Any) Any[source]

Shared decorator applying -i/--include and -e/--exclude options.

These repeatable options allow subcommands to filter which tools are processed by name. They are mutually exclusive: specifying both in the same invocation triggers a UsageError at filtering time (enforced by resolve_tools()).

The decorated function receives include and exclude keyword arguments as tuples of tool-name strings.

Modules

bootstrap_cmd

Bootstrap subcommand for the toolchain command group.

check_cmd

Check subcommand for the toolchain command group.

list_cmd

The list subcommand for the toolchain CLI group.

update_cmd

The update subcommand for the toolchain CLI group.

verify_cmd

Verify subcommand for the toolchain command group.