Skip to main content

USAGE

Constant USAGE 

Source
const USAGE: &str = "Usage: cargo xtask check-ts-client [--write] [--check]

  --write  Regenerate src/generated/openapi-types.ts from ../../openapi.json
           (via `pnpm run generate`) and overwrite the checked-in file.
  --check  (default) Verify src/generated/openapi-types.ts is byte-identical
           to what `pnpm run generate` would produce, then run `pnpm run
           typecheck` (`tsc --noEmit`) and `pnpm test` over the whole package.

Requires `node` and `pnpm` on PATH. If either is missing, this prints a skip
message and exits 0 rather than failing - see xtask/src/ts_client.rs's module
docs for why.";