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

Bug: `rit init` support flags aren't working as expected #1033

Open GuillaumeFalourd opened 2 years ago

GuillaumeFalourd commented 2 years ago

What happened:

It seems that the support flags for the rit init commands aren't working as expected.

When we execute the rit init command manually, the metrics and default-formula-runner files are created or updated.

When we execute the rit init command with flags (e.g: rit init --sendMetrics="no" --addCommons="yes" --runType="docker" ), the metrics and default-formula-runner files aren't created or updated.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Run the rit init command manually to check that the metrics and default-formula-runner files are created or updated.

Run the rit init command with flags (e.g: rit init --sendMetrics="no" --addCommons="yes" --runType="docker" ) to check that the metrics and default-formula-runner files aren't created or updated.

Anything else we need to know?:

Environment:

Note

It could be interesting to check this behaviour through the functional tests workflow as well from now.

kaduartur commented 2 years ago

Hi @GuillaumeFalourd @lucasdittrichzup, I would like to fix this bug!

Could you assign me for this issue?