| title | attr category |
|---|---|
| categories | core |
| version | 0.109.0 |
| core | Attribute for adding a category to custom commands. |
| usage | Attribute for adding a category to custom commands. |
| editLink | false |
| contributors | false |
attr category for core
Attribute for adding a category to custom commands.
> attr category {flags} (category)
category: Category of the custom command.
| input | output |
|---|---|
| nothing | string |
Add a category to a custom command
> # Double numbers
@category math
def double []: [number -> number] { $in * 2 }