https://github.com/guillaumefalourd/formulas-v3
Formulas to test Ritchie CLI v3 features and OS CLI core commands.
https://github.com/guillaumefalourd/formulas-v3
ritchie-cli ritchie-formulas
Last synced: 4 months ago
JSON representation
Formulas to test Ritchie CLI v3 features and OS CLI core commands.
- Host: GitHub
- URL: https://github.com/guillaumefalourd/formulas-v3
- Owner: GuillaumeFalourd
- Created: 2021-08-31T14:35:14.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-16T14:15:59.000Z (almost 4 years ago)
- Last Synced: 2025-01-12T06:07:13.254Z (5 months ago)
- Topics: ritchie-cli, ritchie-formulas
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ritchie Formula Repo

## Documentation
This repository contains Ritchie formulas which can be executed by the [ritchie-cli](https://github.com/ZupIT/ritchie-cli).
For more information, check the [Ritchie CLI documentation](https://docs.ritchiecli.io)
## Import repository to use formulas
To import this repository, you need [Ritchie CLI installed](https://docs.ritchiecli.io/getting-started/installation)
Then, you can use the `rit add repo` as below:
```bash
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:
```bash
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 `
3. Check the step by step of [how to create formulas on Ritchie](https://docs.ritchiecli.io/tutorials/formulas/how-to-create-formulas)
4. Add your formulas to the repository and commit your implementation: `git commit -s -m ''`
5. Push your branch: `git push origin /`
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 `
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](https://docs.ritchiecli.io/tutorials/formulas/how-to-implement-a-formula)
and commit your implementation: `git commit -m '`
5. Push your branch: `git push origin /`
6. Open a pull request on the repository for analysis.- [Contribute to the Ritchie community](https://github.com/ZupIT/ritchie-formulas/blob/master/CONTRIBUTING.md)