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

[Feature Request] add --only-show-errors option to cli

Open CamdenFoucht opened this issue 2 years ago • 0 comments

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request 
[ ] Other... Please describe: 

See #397 for context.

Debug warning messages are written to STDERR, which can cause a CI/CD pipeline to fail as anything written to STDERR is seen as an error.

Expected Behavior

A user provides a --only-show-errors option to the CLI and no warnings will be outputted to STDERR.

Current Behavior

An operation can succeed and have a warning be outputed to STDERR.

STDERROR: [Warn]: This is an asynchronous operation. Check the progress using the following command: ask smapi get-skill-status --skill-id amzn1.ask.skill.<redacted> --resource interactionModel --profile __ENVIRONMENT_ASK_PROFILE__

CamdenFoucht avatar Apr 28 '22 20:04 CamdenFoucht