axm rules new
Create a new rule in the project-workspace authoring root
Usage
Section titled Usageaxm rules new <name> [flags]Arguments
Section titled Arguments| Name | Type | Required | Default | Description |
|---|---|---|---|---|
<name> | string | Yes | Name of the rule to create, without owner |
Flags
Section titled Flags| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--owner | @handle | No | Owner to create under, such as @acme; else the workspace owner, which this sets if unset | |
--description | string | No | Short registry-facing summary shown in listings and search results | |
--preview | boolean | No | false | Show what would change without applying it |
--title | string | No | Display title for the rule |
Examples
Section titled ExamplesScaffold a new rule
axm rules new commit-styleCreate under a specific owner
axm rules new commit-style --owner @acme