Skip to content

Formulas to test Ritchie CLI v3 features and OS CLI core commands.

Notifications You must be signed in to change notification settings

GuillaumeFalourd/formulas-v3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ritchie Formula Repo

Rit banner

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

  1. Fork and clone the repository
  2. Create a branch: git checkout -b <branch_name>
  3. Check the step by step of how to create formulas on Ritchie
  4. Add your formulas to the repository and commit your implementation: git commit -s -m '<commit_message>'
  5. Push your branch: git push origin <project_name>/<location>
  6. Open a pull request on the repository for analysis.

Updating Formulas

  1. Fork and clone the repository
  2. Create a branch: git checkout -b <branch_name>
  3. Add the cloned repository to your workspaces (rit add workspace) with a highest priority (for example: 1).
  4. Check the step by step of how to implement formulas on Ritchie and commit your implementation: git commit -m '<commit_message>
  5. Push your branch: git push origin <project_name>/<location>
  6. Open a pull request on the repository for analysis.