src/permissions directory, generates a matching test spec, and installs the @ooneex/permission package if it is missing.
Usage
Examples
Options
| Option | Description | Default |
|---|---|---|
--name | Permission class name. The Permission suffix is appended automatically. | Prompted if omitted |
--module | Target module the class is generated into. | shared |
--override | Overwrite an existing class without prompting. | false |
AI Skill
This command ships a matchingpermission:create skill. It generates the permission class and its test file, then guides your AI agent through completing a permission that extends Permission from @ooneex/permission.
- Claude
- Codex