Package Exports
- @permify-toolkit/cli
- @permify-toolkit/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@permify-toolkit/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.