Ritchie Formula Repo
Documentation
This repository contains Ritchie formulas which can be executed by the ritchie-cli.
For more information, check the Ritchie CLI documentation
Import repository to use formulas
To import this repository, you need Ritchie CLI installed
Then, you can use the rit add repo
as below:
rit add repo
Select your provider:
> Github
Gilab
Repository name: {{some_repo_name}}
Repository URL: {{this_repo_url}}
Is a private repository?
no
> yes
Personal access tokens: {{git_personal_token}}
Select a tag version:
> 1.0.1
1.0.0
Set the priority: X (the lower the number, the higher the priority)
Or by using this command:
rit add repo --provider="Github" --name="{{some_repo_name}}" --repoUrl="{{this_repo_url}}" --priority=1
Finally, you can check if the repository has been imported correctly by executing the rit list repo
command.
Contribute to this repository with your formulas
Creating formulas
- Fork and clone the repository
- Create a branch:
git checkout -b <branch_name>
- Check the step by step of how to create formulas on Ritchie
- Add your formulas to the repository and commit your implementation:
git commit -s -m '<commit_message>'
- Push your branch:
git push origin <project_name>/<location>
- Open a pull request on the repository for analysis.
Updating Formulas
- Fork and clone the repository
- Create a branch:
git checkout -b <branch_name>
- Add the cloned repository to your workspaces (
rit add workspace
) with a highest priority (for example: 1). - Check the step by step of how to implement formulas on Ritchie
and commit your implementation:
git commit -m '<commit_message>
- Push your branch:
git push origin <project_name>/<location>
- Open a pull request on the repository for analysis.