Skip to content

Command-line interface

The baha CLI is BaseHarbor's primary human interface.

This documentation follows the actual command surface and groups commands by responsibility instead of presenting one undifferentiated command dump.

Start here

For the normal application workflow, begin with:

baha new application
baha init
baha up
baha status
baha doctor
baha down

CLI sections

Documentation contract

Each command section should answer the same questions:

  1. What does this command do?
  2. When should I use it?
  3. What is the syntax?
  4. Which options materially change behavior?
  5. Is it read-only, mutating or destructive?
  6. How does non-interactive use differ from interactive use?
  7. Is there equivalent JSON/MCP behavior?
  8. What are the common failure modes?
  9. What is the safest next action?

Full installation destruction displays the exact application reset plans inside the aggregate plan. Two acknowledgements and separate data consent apply to that displayed scope. Each child owner is checked again before execution; changed child consequences fail with preserved retry state. Generic approval does not authorize another application plan.