Stdin

It's common that you will want to pass some input into dasel to work with.

The simplest way of doing so is sending it to stdin, e.g.

echo '{"message": "Hello world"}' | dasel -i json

This data could be in many formats (json, yaml, etc), so it's important that you use -i, --input to specify the input file format.

Last updated