warden

command
v1.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Command warden is the CLI for the .warden DSL.

Usage:

warden lint <path>                   — static checks; no DB required
warden apply -f <path> --store <DSN> — apply config to a tenant
warden diff  -f <path> --store <DSN> — alias for `apply --dry-run`

Path may be a single .warden file, a directory (walked recursively for .warden files), or a glob pattern. Hidden directories are skipped; `_`-prefixed directories are kept by convention.

Store DSNs:

memory:                              (testing only)
sqlite:<path>                        (single-file dev)
postgres://user:pass@host:port/db    (production)

Exit codes:

0 — success
1 — diagnostics (lint, dry-run with errors)
2 — usage error
3 — store / runtime error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL