attr category
for core
Attribute for adding a category to custom commands.
Signature
> attr category {flags} (category)
Parameters
category
: Category of the custom command.
Input/output types:
input | output |
---|---|
nothing | list<string> |
Examples
Add a category to a custom command
> # Double numbers
@category math
def double []: [number -> number] { $in * 2 }