-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Labels
api-changeChange that will most likely break existing APIs and may be rolled out into a new major versionChange that will most likely break existing APIs and may be rolled out into a new major versionenhancementNew feature or requestNew feature or request
Milestone
Description
When working non-interactively by calling the sfcc-ci program and specifying --json, for example like in the following case:
docker run docker-registry.releng.demandware.net/ccdx/dx-sfcc-ci:1.1.4-mbickel.refresh sandbox:list --json
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-changeChange that will most likely break existing APIs and may be rolled out into a new major versionChange that will most likely break existing APIs and may be rolled out into a new major versionenhancementNew feature or requestNew feature or request