Skip to content

--log-pretty and --log-color appear unsettable #436

Description

@jmgilman

Example:

timoni bundle build --log-pretty=false --log-color=false -f bundle.cue

Will produce output like this in a non-terminal setting:

\x1b[90m11:52AM\x1b[0m \x1b[31mERR\x1b[0m \x1b[1mbuild failed for program:
  │ values.foo: field not allowed:
  │     ./config/instance.cue:8:10
  │     ./timoni.cue:18:9
  │     ./values.cue:22:2
  │ \x1b[0m

According to the cobra documentation, this is the correct way to set boolean flags, so I'm guessing something downstream is blocking the changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions