How peter123gmai/devfabric works
DevFabric is a small command-line tool: users select a built-in command, and -run executes one or more source files using extension-specific shell commands. The central runtime is implemented in cli/cli.cpp, with ANSI color constants in libs/color.hpp. The README also documents debug settings in config/cli.cfg, but the available source does not show how those settings are consumed. The README’s language list differs from the sampled executor’s extensions; the graph reflects the implementation shown.
Main entry points: cli.cpp CLI application · color.hpp ANSI colors
Components 7
Other components
- CLI user
- CLI application
cli/cli.cpp - Built-in commands
cli/cli.cpp - Run command
cli/cli.cpp - File executor
cli/cli.cpp - System runtimes
- ANSI colors
libs/color.hpp
Connections 8
- CLI user → CLI application: supplies arguments
cli/cli.cpp - CLI application → Built-in commands: dispatches command
cli/cli.cpp - Built-in commands → Run command: invokes run
cli/cli.cpp - Run command → File executor: executes files
cli/cli.cpp - File executor → System runtimes: runs shell command
cli/cli.cpp - CLI application → ANSI colors: uses error colors
cli/cli.cpp - Run command → ANSI colors: uses error colors
cli/cli.cpp - File executor → ANSI colors: uses error colors
cli/cli.cpp