preset
Decode a preset code into its archetype, features, stack and services, or print the permdock.com/create link that opens it.
permdock preset decode <code> prints what a preset code holds. permdock preset url <code> prints the /create link that opens it in the builder.
permdock preset decode p1AQIDBAc
permdock preset decode p1AQIDBAc --json
permdock preset url p1AQIDBAcA code this version does not read, including one with a newer version prefix, exits 2.
Last updated on
init
Write a preset's permissions, policy, app definition and framework wiring into a project from a permdock.com/create code or from flags, keep every file that already exists, and print the install and shadcn commands to run.
scan
List the authorization checks in an existing app that do not go through PermDock - role comparisons, hasRole and hasPermission helpers, CASL abilities, Clerk has() and role claims - as the work left before PermDock decides on its own.