| title | attr category |
|---|---|
| categories | core |
| version | 0.103.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 | list<string> |
Add a category to a custom command
> # Double numbers
@category math
def double []: [number -> number] { $in * 2 }