Dumb Modes Command
Overview
The dumb-modes command lists all modes available in ForgeFoundary. It scans your configured modes folder, retrieves metadata from each mode, and displays a structured view in the terminal. This is useful for quickly checking which modes you have installed and their basic configuration info.
Think of it as a mode inventory command.
Usage
ForgeFoundary dumb-modes [options]
Options
--config-name=– Specify a main configuration file name.--config-path=– Set a custom path to the main configuration YAML.--custom=*– Pass additional custom CLI flags.--cli-log– Enable logging output in the terminal.--file-log– Save logs to a file.
How it works
When executed, dumb-modes:
- Loads your main configuration to locate the modes folder.
- Scans each subdirectory in the modes folder for YAML mode files.
- Parses each mode’s metadata (like name, description, or author) from the YAML file.
- Displays all modes in a tree-like structure, including metadata if available.
The command only reads and displays metadata — it does not modify any files or run scaffolding.
Example
# List all available modes
ForgeFoundary dumb-modes
Next Steps
After reviewing your modes:
- Run the dry-run command to preview scaffolding for a specific mode:
ForgeFoundary dry-run --mode=MyCustomMode
- Run the scaffold command to apply a mode and generate project files:
ForgeFoundary scaffold --mode=MyCustomMode