@permify-toolkit/cli
v1.1.0
Published
Powerful CLI for Permify: Push schemas, seed relationships, and manage tenants with ease.
Maintainers
Readme
@permify-toolkit/cli
CLI for pushing schemas and seeding relationships to Permify.
Installation
pnpm add -D @permify-toolkit/cliQuick Example
# Push schema from permify.config.ts
permify-toolkit schema push
# Seed relationships from a JSON file
permify-toolkit relationships seed --file-path ./data/relationships.json
# Push to a new tenant (creates it if needed)
permify-toolkit schema push --tenant new-tenant -cCommands
| Command | Description |
| -------------------- | ---------------------------------- |
| schema push | Push schema to Permify server |
| relationships seed | Seed relationship tuples from JSON |
Features
- Shared Config — reads from
permify.config.ts, no flag duplication - Inline or File Schemas — TypeScript DSL or
.permfiles - Tenant Management — auto-create tenants with
--create-tenant - Schema Validation — Permify validates on push with detailed error messages
Documentation
For full documentation, guides, and API reference, visit the Permify Toolkit Docs.
