Remove or convert console output to JSON when --json is given #22
Labels
api-change
Change that will most likely break existing APIs and may be rolled out into a new major version
enhancement
New feature or request
Milestone
When working non-interactively by calling the sfcc-ci program and specifying
--json
, for example like in the following case:The output may not be entirely json, for example when the authentication renewal kicks in and prints "Authentication succeeded" messages via calls to
console.info
to stdout.This requires me to parse the stdout to figure out where the JSON object begins.
Can we change this so when
--json
is given, output is guaranteed to be a JSON object with any non-json output redirected to stderr, if necessary?The text was updated successfully, but these errors were encountered: