NAME

action - private built-in command wrapper for Developer Dashboard

SYNOPSIS

dashboard action ...

DESCRIPTION

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

PURPOSE

This staged helper exposes the page-action command surface, especially dashboard action run. It keeps the public command available after helper staging while leaving page-action execution policy inside the action runtime.

WHY IT EXISTS

It exists because page actions are a built-in dashboard capability, but their CLI wrapper should remain a small staged entrypoint instead of expanding the public switchboard.

WHEN TO USE

Use this file when changing CLI argument handling for page actions or when fixing how the built-in action command re-enters the private runtime.

HOW TO USE

Users run dashboard action run <page_id> <action_id>. The staged helper forwards that request into the private command runtime, which loads the action runner and executes the requested saved page action.

WHAT USES IT

It is used by the public dashboard action ... command family, by saved action debugging from the CLI, and by tests that verify staged helper dispatch for action commands.

EXAMPLES

Example 1:

dashboard action run sample refresh-data

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

Example 2:

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

Inspect the staged helper directly after dashboard 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.