Formulas commands

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

With formulas, the STDIN flag JSON 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