ZupIT / ritchie-cli

Ritchie CLI is an open-source tool that allows to create, store and share any kind of automation, executing them through command lines, to run operations or start workflows ⚙️ 🖥 💡
https://docs.ritchiecli.io
Apache License 2.0
561 stars 104 forks source link

Env to change ritchie home dir #1022

Closed fabianofernandeszup closed 2 years ago

fabianofernandeszup commented 2 years ago

Signed-off-by: fabianofernandeszup fabiano.fernandes@zup.com.br

Description

Flag to run rit cli using another folder diferent of /.rit

How to verify it

Run rit with env RITCHIE_HOME_DIR with other path name inside the user home dir.

Like:

export RITCHIE_HOME_DIR=.othe-folder
rit

Changelog

Added RITCHIE_HOME_DIR env to change directory of ritchie configuration files


This pull request generated the following artifacts.

To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.

Generated at Mon Aug 30 2021 19:27:04 GMT+0000 (Coordinated Universal Time)


This pull request generated the following artifacts.

To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.

Generated at Mon Aug 30 2021 19:32:05 GMT+0000 (Coordinated Universal Time)