mafw.devtools.cli.toolchain.bootstrap_cmd

Bootstrap subcommand for the toolchain command group.

This module implements the devtools toolchain bootstrap command, which iterates over all applicable ToolChainTool instances and attempts to install any that are not yet present. Each tool’s bootstrap() method is called; the result is categorised as successfully installed, already present, or failed.

A Rich spinner is displayed while each tool is being processed, providing visual feedback during potentially slow installation operations.

Project tools raise DevtoolsError from bootstrap() to indicate they do not support standalone bootstrapping (they are managed through pyproject.toml and installed automatically via Hatch environments). This is treated as a skip and does not affect the exit code.