How to use the stdin flag

Informing inputs through arguments or flags allows the user to automate workflows. It is particularly useful when you're manipulating other tools within a script, as you can automate operations without having to interact with the terminal.

The --stdin flag on Ritchie has been developed to support this scenario as well. In that case, the input parameters need to be informed in a JSON format:

echo'{"key":"value"}'|RIT (GROUP) VERB NOUN --stdin

Executing a formula on Ritchie with STDIN

Next steps

You saw in this section how works the --stdin flag. If you want to keep reading about Ritchie's commands:

👉 Check out the formulas commands to see more automation possibilities.

👉 Check out the Core Commands to see know all commands that can be used through stdin.