A keyword, an argument, then _. The value is fetched by a local script or API call and inserted in place of the request.
The keyword selects the blank; the rest of the line is its input.
you type
you get
you type
you get
A request naming its subject (weather london _) is replaced by the value, inserted selected. A bare keyword (volume _) keeps the keyword as a label in front of its value.
~/.cues/blanks/<name>/: a config file and, for script blanks, the script.
The config (BLANK.md) declares the trigger keywords and how the value is produced. Shipped blanks are built the same way as ones you add, so writing a new lookup is the same job as reading an existing one. 17 folders ship with the install.
| Keyword | Returns |
|---|---|
| weather <place> | current temperature and conditions |
| define <word> | a dictionary definition |
| volume | the system volume; keys then adjust the device |
| note <words> | a snippet you saved earlier |
A lookup that reaches the network shows a spinner in the slot until the value arrives, so a stalled request is distinguishable from a running one.
The weather blank takes a place named in the request (weather london _); a bare weather _ queries its default city, London.