tools
tirage tools [OPTIONS]tirage ttirage lsLists every Tool with its frame count, whether it renders SVG, and its Parameters. For each Parameter it prints the id, then the range and step of a slider, on/off for a toggle, or the values a choice can take. The slugs are what derive Pins a Tool by, and the ids are what a Taste bounds file names.
Options
Section titled “Options”| Option | Does |
|---|---|
--json |
Print JSON instead of text |
-h, --help, --no-color and --no-input work here as on every command. See tirage.
| Tool | Frames | Visual |
|---|---|---|
sonar |
24 | Loop |
husk |
36 | Loop |
vein |
36 | Loop |
aura |
72 | Loop |
kiosk |
24 | Loop |
frond |
36 | Loop |
benday |
36 | Loop |
terrain |
30 | Loop |
stitch |
36 | Loop |
pith |
36 | Loop |
mosh |
24 | Loop |
mist |
72 | Loop |
coral |
36 | Loop |
whorl |
36 | Loop |
sear |
36 | Loop |
culture |
36 | Loop |
bloom |
24 | Loop |
weave |
120 | Loop |
warp |
72 | Loop |
zig |
120 | Loop |
relief |
24 | Loop |
atlas |
24 | Loop |
sprig |
36 | Loop |
stipple |
30 | Loop |
motley |
36 | Loop |
oddgrid |
32 | Loop |
fete |
100 | Loop |
fold |
36 | Loop |
quilt |
60 | Loop |
static |
60 | Loop |
splice |
36 | Loop |
dahlia |
36 | Loop |
hiss |
36 | Loop |
crowd |
36 | Loop |
cipher |
36 | Loop |
riso |
16 | Loop |
rise |
72 | Loop |
carve |
36 | Loop |
specimen |
24 | Loop |
pane |
24 | Loop |
modular |
24 | Loop |
prism |
12 | Loop |
parcel |
72 | Loop |
tokens |
36 | Loop |
optic |
72 | Loop |
vee |
72 | Loop |
sampler |
24 | Loop |
totem |
24 | Loop |
filament |
30 | Loop |
chaff |
36 | Loop |
strand |
36 | Loop |
Text output
Section titled “Text output”Each Tool heads a block with its frame count, then , svg when render can write it as an SVG. One line per Parameter follows:
sonar 24 frames, svg level 0..=1 step 0.01 scale 1..=10 step 0.1 warp 0..=1 step 0.01 grid 40..=320 step 2 depth 0..=1 step 0.01 fringe 0..=1 step 0.01 spark 0..=1 step 0.01 ditherTog on/off [no Taste] dthKinds Bayer 8, Bayer 4, Noise [no Taste] dthSize 1..=10 step 1 [no Taste] dthLevels 2..=8 step 1 [no Taste] dthAmount 0..=1 step 0.05 [no Taste] grainTog on/off [no Taste] grnBlends Add, Overlay, Soft light, Multiply, Screen [no Taste] grnAmount 0..=1 step 0.05 [no Taste] grnSize 0.5..=4 step 0.1 [no Taste] grnSpecks 0..=1 step 0.05 [no Taste] grnVignette 0..=1 step 0.05 [no Taste]A range like 0..=1 step 0.01 means any value from 0 to 1 in steps of 0.01, both ends included. [no Taste] ends a row that a Taste file cannot bound. Toggles, choices and a Tool’s own grain are all unboundable. The last 11 Parameters, from ditherTog to grnVignette, are the same on every Tool. Dither and grain explains them, and Tool pages leave them out.
JSON output
Section titled “JSON output”--json prints one array with one object per Tool, in the same order as the text. Each object has slug, frames, svg and params. svg is true when render can write the Tool as an SVG. Each Parameter has an id and a kind: range carries min, max and step, choice carries choices, and toggle carries nothing more. taste is false for a Parameter that a Taste file cannot bound. The real output is one line and lists every Parameter. Trimmed and pretty printed:
[ { "slug": "sonar", "frames": 24, "svg": true, "params": [ { "id": "level", "kind": "range", "min": 0.0, "max": 1.0, "step": 0.01, "taste": true }, { "id": "ditherTog", "kind": "toggle", "taste": false }, { "id": "dthKinds", "kind": "choice", "choices": ["Bayer 8", "Bayer 4", "Noise"], "taste": false } ] }]Exit codes
Section titled “Exit codes”| Code | When |
|---|---|
0 |
The listing was printed |
2 |
An unknown option |
A closed pipe, as when piping into head, is not an error.
Examples
Section titled “Examples”tirage toolstirage tools --jsontirage tools --json | jq -r '.[].slug'