Developer-Dashboard
view release on metacpan or search on metacpan
dashboard code resolves the path and rewrites the matching `runtime.json`
metadata file before collectors, indicators, or sessions use it again.
Use `dashboard which <target>` to inspect what `dashboard` would execute before
you run it. The command prints one `COMMAND /full/path` line for the resolved
file and then one `HOOK /full/path` line for each participating hook in
runtime execution order. That works for built-in helpers such as `jq`, layered
custom commands such as `layered-tool`, single-level skill commands such as
`example-skill.somecmd`, and multi-level nested skill commands such as
`nest.level1.level2.here`. If you add `--edit`, `dashboard which` skips the
inspection output and re-enters `dashboard open-file` with the resolved command
file path so the normal editor-selection behavior is reused.
Render shell bootstrap for bash, zsh, POSIX sh, or PowerShell:
```bash
dashboard shell bash
dashboard shell zsh
dashboard shell sh
dashboard shell ps
```
The generated zsh bootstrap now loads `compinit` before any `compdef`
registration, so a fresh macOS zsh shell can evaluate it without raising
`command not found: compdef`.
Audit runtime permissions:
```bash
dashboard doctor
dashboard doctor --fix
```
Resolve or open files from the CLI:
```bash
dashboard of --print My::Module
dashboard open-file --print com.example.App
dashboard of --print notes
dashboard of --print foobar 456.txt
dashboard open-file --print path/to/file.txt
dashboard open-file --print bookmarks api-dashboard
```
Query structured files from the CLI:
```bash
printf '{"alpha":{"beta":2}}' | dashboard jq alpha.beta
printf 'alpha:\n beta: 3\n' | dashboard yq alpha.beta
printf '[alpha]\nbeta = 4\n' | dashboard tomq alpha.beta
printf 'alpha.beta=5\n' | dashboard propq alpha.beta
dashboard jq file.json '$d'
```
Start the local app:
```bash
dashboard serve
```
Open the root path with no bookmark path to get the free-form bookmark editor directly. If you start the web service with `dashboard serve --no-editor` or `dashboard serve --no-endit`, the browser stays read-only instead and direct editor/source rout...
Stop the local app and collector loops:
```bash
dashboard stop
```
Interactive terminal runs now print a task board on `stderr` first, then mark each stop step as it finishes so the command does not appear hung while the runtime waits for managed shutdown.
Restart the local app and configured collector loops:
```bash
dashboard restart
```
Interactive terminal runs now print the full restart task board on `stderr`, mark the active step with a yellow `->`, mark completed steps with a green `[OK]`, mark failed steps with a red `[X]`, and keep the final JSON result on `stdout`.
Create a helper login user:
```bash
dashboard auth add-user <username> <password>
```
Remove a helper login user:
```bash
dashboard auth remove-user helper
```
Helper sessions show a Logout link in the page chrome. Logging out removes both
the helper session and that helper account. Helper page views also show the
helper username in the top-right chrome instead of the local system account.
Exact-loopback admin requests do not show a Logout link.
### Working With Pages
Create a starter page document:
```bash
dashboard page new sample "Sample Page"
```
Save a page:
```bash
dashboard page new sample "Sample Page" | dashboard page save sample
```
List saved pages:
```bash
dashboard page list
```
Render a saved page:
```bash
dashboard page render sample
```
( run in 1.577 second using v1.01-cache-2.11-cpan-39bf76dae61 )