Run the following command to create a formula:
rit create formula
Then, you'll have to inform those inputs before running the formula:
The command (following the pattern
rit + group + verb + noun to respect the tree pattern).
The formula's programming language.
The path used to save formula's files.
rit demo create formula
You can test the formula directly after its creation. That's possible because the
rit create formula command also builds the formula automatically (it generates the formula's executable files and add them on .rit folder).
In that case, the formula "Hello World" template will be executed as shown below:
This template is composed of 3 inputs parameters, that represents the currently available kinds of inputs to use Ritchie:
sample text variable
sample list of text variables
sample boolean variable
On this section, you saw how to create a formula on Ritchie and test it. To keep configuring the formula:
👉 Go to implement a formula to understand how to edit the files Ritchie creates after formula creation.
👉 Go to build a formula to see how to continue the tests on the formulas you create.