rasa icon indicating copy to clipboard operation
rasa copied to clipboard

Make rasa validate cli have an option to turn off colors

Open thiagohdaqw opened this issue 2 years ago • 9 comments

Proposed changes:

  • Make rasa cli have an option to turn off colors in rasa validate

Fixes:

  • #9757

Status (please check what you already did):

  • [x] added some tests for the functionality
  • [x] updated the documentation
  • [x] updated the changelog (please check changelog for instructions)
  • [x] reformat files using black (please check Readme for instructions)

thiagohdaqw avatar Jul 16 '22 16:07 thiagohdaqw

您的邮件已收到,我会尽快回复!

bingfengyiren avatar Jul 16 '22 16:07 bingfengyiren

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 02 '22 15:08 CLAassistant

@thiagohdaqw do we need the option both via the env var via the command line? I'd prefer doing it either one way or the other, so there's no ambiguity, and the code will be simpler.

It's really redundant. I think it makes more sense to keep only the env var. Thanks for the review, I will make the changes

thiagohdaqw avatar Aug 03 '22 14:08 thiagohdaqw

@losterloh, done :)

thiagohdaqw avatar Aug 04 '22 21:08 thiagohdaqw

@thiagohdaqw code looks good, just approved it for CI. One last thing: could you also add a description of this new feature to the documentation where the corresponding rasa run target is described?

losterloh avatar Aug 09 '22 08:08 losterloh

@thiagohdaqw code looks good, just approved it for CI. One last thing: could you also add a description of this new feature to the documentation where the corresponding rasa run target is described?

@losterloh Where exactly should we add the feature documentation in the docs? We can't seem to find where it's the right place to write it

JoaoP-Coelho avatar Aug 09 '22 18:08 JoaoP-Coelho

I would recommend inserting it as a :::tip in docs/docs/command-line-interface.mdx.

losterloh avatar Aug 10 '22 08:08 losterloh

@losterloh Documentation done! :D

JoaoP-Coelho avatar Aug 16 '22 00:08 JoaoP-Coelho

Hi @thiagohdaqw, in order to merge this PR we need to fix the Documentation Linting Checks, can you please run make lint-docs and fix the issue that its complaining about.

sanchariGr avatar Sep 21 '22 12:09 sanchariGr