Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Impossible to use cli commands in CI as they output results in non-conformant format #537

Closed

Description

@margaretos

When running cli comands botframework cli output is all over the place.
For example luis:train:show if successful outputs luis json response trailed with text message "Training status successfully output to console" which makes it hard to parse properly.
If not successful the same commands outputs error in plain text, that makes tackling the error gracefully unnecessary complex in CI environments.

I don't see the way to disable redundant logs using https://github.com/oclif/command/blob/master/src/command.ts .

It would be great to generalize output in some way.

Activity

  1. added
    backlog
    on Feb 11, 2020
  2. munozemilio commented on Feb 11, 2020

    @munozemilio
    Contributor

    Eyal (@scheyal) we should spec out a standard output for all commands in the CLI to be CI compliant

  3. scheyal commented on Feb 18, 2020

    @scheyal

    See PR #580 for CLI output guide

  4. added this to the R13 milestone on Mar 9, 2021
  5. added
    P1
    and removed
    backlog
    on Mar 9, 2021
  6. munozemilio commented on Mar 22, 2021

    @munozemilio
    Contributor

    Hello @in4margaret the message has been removed and a flag has been added to other commands to transform the output to json format. Please let us know if there is any other command you are having issues with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P1

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions