Variables
Inline
$ dasel -i json '$x = 1; $y = 2; $x + $y'
3$ echo '{"users": [{"name": "Alice"}, {"name": "Bob"}]}' \
| dasel -i json '
$names = users.map(name);
$count = len($names);
"Found " + toString($count) + " users"
'
"Found 2 users"From the environment
From the CLI
Standard variables
$this
$thisExamples
$key
$keyExamples
Last updated