NAME
page - private built-in command wrapper for Developer Dashboard
SYNOPSIS
d2 page ...
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 CLI page workflow: create, save, list, show, render, source, encode, decode, and URL generation for saved bookmark pages. It is the command-line face of the bookmark page system.
WHY IT EXISTS
It exists because page management is a built-in dashboard feature, but the public switchboard should only stage and dispatch the command while page parsing, storage, and rendering stay in dedicated modules.
WHEN TO USE
Use this file when changing page CLI verbs, bookmark save/show/render behavior from the command line, or the private-helper handoff for page commands.
HOW TO USE
Users run d2 page .... The staged helper forwards the request into the private runtime, which loads the page store, page document parser, and page runtime needed for the selected page operation.
WHAT USES IT
It is used by developers managing bookmark pages outside the browser, by integration smoke that verifies the page command family, and by page-system regression tests.
EXAMPLES
Example 1:
d2 page source index
Run the public built-in command path that stages or re-enters this helper.
Example 2:
~/.developer-dashboard/cli/dd/page --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.