@foir/demesne-cli
v0.80.2
Published
Demesne CLI — compile one .demesne spec into Postgres RLS plus a typed app surface. Wraps the prebuilt Go binary for your platform.
Maintainers
Readme
@foir/demesne-cli
The Demesne CLI, distributed as a prebuilt binary for the JavaScript toolchain. Compile one
.demesne spec into a Postgres RLS enforcement floor and a typed, equivalence-checked app surface.
npx @foir/demesne-cli emit app.demesne all
# or install it
npm i -D @foir/demesne-cliThis package is a thin launcher: on install, npm pulls the one
@foir/demesne-cli-<platform> optional dependency that matches your OS and CPU, and the demesne
bin execs that binary. No Go toolchain required.
Prefer a standalone binary? Grab one from the GitHub releases, or build from source — clone the repo and run go build ./cmd/demesne.
See the project README for the spec grammar and
the full command reference (demesne help). Licensed under Apache-2.0.
