Formulas commands

In this section, you will find more details about commands that run with Ritchie’s formulas.

With the formulas, the STDIN flag JSON’s ID is based on the inputs parameters names informed on the config.json file used to implement the formula.

Example

  1. Formula command: rit demo formula

  2. Inputs names asked in the config.json file:

    • name
    • surname
    • dateOfBirth
  3. Formula execution with STDIN:

echo '{"name":"Dennis", "surname":"Ritchie", "dateOfBirth":"09/09/1941"}' | rit demo formula --stdin

Last modified October 29, 2021: Doc review (#161) (ef9c57d8)