attr search-terms
for core
Attribute for adding search terms to custom commands.
Signature
> attr search-terms {flags} ...rest
Parameters
...rest
: Search terms.
Input/output types:
input | output |
---|---|
nothing | list<string> |
Examples
Add search terms to a custom command
> # Double numbers
@search-terms multiply times
def double []: [number -> number] { $in * 2 }