✨ Publier v1 is live — a polished docs platform built for the open web.
Skip to content

publier doctor

Diagnose config, license, and environment issues.

Runs a short set of diagnostic checks and prints a summary with remediation hints. Always exits 0 — read the output to identify issues.

Usage

Terminal window
publier doctor

Checks

  • Config — validates that publier.config.yaml exists and parses without errors.
  • Token — checks that a license token is present (via PUBLIER_TOKEN or ~/.publier/auth.json) and not expired.
  • Environment — verifies that the runtime and required packages are installed.

Sample output

All checks passing:

publier doctor
✓ config publier.config.yaml — valid
✓ token Token present (expires 2026-07-15T14:30:00.000Z)
✓ environment Ready
All checks passed.

With a missing token:

publier doctor
✓ config publier.config.yaml — valid
✗ token No token found in PUBLIER_TOKEN or ~/.publier/auth.json
→ Run `publier login` to sign in, or set PUBLIER_TOKEN in your environment.
✓ environment Ready
1 issue found.

Exit codes

CodeMeaning
0Always. Read the output for issues.