ritchie-cli icon indicating copy to clipboard operation
ritchie-cli copied to clipboard

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

Open GuillaumeFalourd opened this issue 4 years ago • 1 comments

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:

  • I expected the rit init command to work the same way through manual or flags execution.

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:

  • Ritchie version (use rit --version): 2.12.0 (LTS)
  • Operating System: MacOS + Linux (probably Windows too)

Note

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

GuillaumeFalourd avatar Sep 09 '21 20:09 GuillaumeFalourd

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

Could you assign me for this issue?

kaduartur avatar Sep 29 '21 19:09 kaduartur