Run the following command to create a formula:
rit create formula
Then, you’ll have to inform those inputs before running the formula:
rit + group + verb + noun
to respect the tree pattern).Example: 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 you can see below:
This template is composed of 4 inputs parameters, that represents the currently available kinds of inputs to use Ritchie:
sample text
variablesample list
of text variablessample boolean
variablesample password
variableWhen you finished creating your formula, it will be built and sent to a specific repository according to the name of your workspace with the prefix “local”.
Example: If we have a workspace with Default
name:
{
"Default":"/home/user/ritchie-formula-local"
}
A repository associated to this workspace will be created on the /home/user/.rit/repos
folder, and added on the repositories.json
file.
[
{
"provider": "Local",
"name": "local-default",
"version": "0.0.0",
"url": "local repository",
"priority": 0,
"isLocal": true
}
]
Keep configuring your formula:
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.