Template Engine

Rit banner

Documentation

This repository contains Ritchie formulas which can be executed by the ritchie-cli.

For more information, check the Ritchie CLI documentation

Formulas in this repository

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: Template-Engine
 Repository URL: https://github.com/fabianofernandeszup/template-engine
 Is a private repository?
  > no
    yes
 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="Template-Engine" --repoUrl="https://github.com/fabianofernandeszup/template-engine" --priority=1 --tag="1.0.0"

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.