NAME

config - private built-in command wrapper for Developer Dashboard

SYNOPSIS

d2 config ...

DESCRIPTION

This private helper is staged under ~/.developer-dashboard/cli/dd/ so the public d2 entrypoint can stay a thin switchboard.

PURPOSE

This staged helper exposes the runtime configuration commands such as d2 config init and d2 config show. It is the small public face of the config subsystem.

WHY IT EXISTS

It exists because runtime config inspection and bootstrapping are built-ins, but the public command should stay a dispatch shell that hands configuration behavior off to the real config module.

WHEN TO USE

Use this file when changing the CLI config surface or when fixing how configuration commands are routed into the private runtime.

HOW TO USE

Users run d2 config init or d2 config show. The staged helper forwards the request to the private runtime, which reads or writes the runtime config files and prints the result.

WHAT USES IT

It is used during first-run setup, by contributors inspecting runtime config state, and by integration smoke that verifies config initialization in a blank environment.

EXAMPLES

Example 1:

d2 config show

Run the public built-in command path that stages or re-enters this helper.

Example 2:

~/.developer-dashboard/cli/dd/config --help

Inspect the staged helper directly after d2 init or helper extraction has populated the home runtime.

Example 3:

prove -lv t/05-cli-smoke.t t/30-dashboard-loader.t

Rerun the focused staged-helper and thin-loader tests after changing helper dispatch behavior.

Example 4:

prove -lr t

Verify that the helper still behaves correctly inside the complete repository suite.