Skip to content

CLI

The stackrivet-cli module is a thin CLI for tasks you run around the app rather than inside it. Today the Community edition ships a single command: doctor.

A fast pre-flight check of your environment and configuration:

  • Java — JDK 21 or newer is selected.
  • Storage — the configured STACKRIVET_STORAGE_TYPE is recognised, and for s3 / aliyun_oss that the endpoint and access/secret keys are present.
  • DatabaseSTACKRIVET_DB_HOST is set (otherwise the active profile’s default is used).

It checks configuration presence so you can diagnose a fresh machine or a teammate’s setup before starting the app.

The CLI stays small in Community. Live database/storage connectivity checks, toolchain checks, code-generation helpers and enterprise environment diagnostics are Pro / Enterprise; see the pricing page.