title | weight | description |
---|---|---|
Core Commands |
75 |
In this section, you will find more details about commands that can be used through input flags. |
{{% alert color="info" %}}
This flags are supported since Ritchie's 2.8 release.
{{% /alert %}}
rit set credential
rit set credential --provider="github" --fields="username,token" --values="Dennis,123456"
rit delete credential
rit delete credential --provider="github"
rit set env
rit set env --env="prod"
rit delete env
rit delete env --env="prod"
rit list formula
rit list formula --name="repo_name"
{{% alert color="info" %}}
If you need to list formulas from every repository you have added, use the flag 'ALL'.
{{% /alert %}}
rit list formula --name="ALL"
rit add repo
rit add repo --name="demo" --provider="Github" --repoUrl="https://github.com/ZupIT/ritchie-formulas-demo" --tag="2.8.9" --token="1324efg"
{{% alert color="info" %}}
When the version flag is not passed, Ritchie automatically searches for the latest version. The token flag is mandatory when the command is used to add a private repository.
{{% /alert %}}
rit delete repo
rit delete repo --name="repo_name"