Skip to content

stop automatically emiting JSON output when a tty is not detected #130

Description

@donn

Description

Currently, ciel ls, ciel ls-remote, ciel ls-pdks, ciel output all detect if they're outputting to a teletype and use that to switch between a JSON output and a formatted terminal output.

Detection for formatting is fine (and click does that automatically), but JSON violates the principle of least surprise.

Proposal

It should just be plain text.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⛓️‍💥 breaking changeThis is a breaking change necessitating a major version update

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions