◈ PulseFlow Cloud / CLI Tools
Fictional command line · documentation fixture

CLI reference / version 1.8.0

Operational context, one command away.

The imagined PulseFlow CLI gives developers a consistent way to inspect traces, validate event envelopes and diagnose a delayed workflow. This handbook turns those operations into repeatable runbooks.

Choose a workflow

Debug a development run

List recent traces in a specific workspace, inspect a run ID and compare status with the expected workflow state. Prefer explicit filters over downloading all retained data.

Validate a deployment

Use noninteractive JSON output in CI to check authentication and send a synthetic marker. Treat a failed observability check separately from the application's own test results.

Recover a notification

Preview a webhook replay with a dry run, verify authorization and confirm receiver idempotency before deliberately creating another delivery attempt.

A first diagnostic session

# Illustrative commands for the fictional CLI.
export PULSEFLOW_WORKSPACE=ws_demo
export PULSEFLOW_REGION=us-east-1
# Inject PULSEFLOW_TOKEN from a protected secret source; do not print it.
pulseflow doctor --redact --json
pulseflow traces list --since 30m --limit 20 --json
pulseflow workflows inspect run_checkout_42 --json
pulseflow config view --redact

The reference CLI writes machine-readable results to standard output and human diagnostics to standard error. A nonzero exit status remains nonzero even when a structured error is printed. Scripts should parse the result schema, not scrape terminal colors or progress messages.

Configuration precedence

  1. Explicit flags such as --workspace ws_demo.
  2. Environment variables such as PULSEFLOW_WORKSPACE.
  3. A selected local profile containing non-secret defaults.

Tokens are server-side secrets and are excluded from profile exports. The imagined config viewer masks credentials by default; --redact makes that expectation explicit in diagnostic runbooks. Never pass a token in a shell argument that could appear in process listings.

Predictable automation

Global options include --json, --no-color, --workspace, --region and --timeout. Interactive prompts are disabled by PULSEFLOW_NONINTERACTIVE=1. Mutating operations require explicit flags rather than guessing a default workspace or silently accepting a prompt.

Explore the handbook

For application instrumentation, use the JavaScript SDK docs. For platform concepts, return to the central documentation hub.