Skip to content

make the -s, silent output in case of success the default output #121

Closed
@dahankzter

Description

@dahankzter

When this was implemented there were several people that noted the Unix principle of silence.
I wanted to add this issue as a discussion for making the -s behavior the default.
Possibly also what the rule of silence would mean for Json (and analogously for XML) output where the options discussed so far are basically to return nothing, to return {} and to return {Issues:[]}.

The only practical consideration afaik is backwards compatibility. This is less important early in a project because early adopters are usually not too averse to change. As time goes by this gets more and more important. Backwards compat for the basic text output is also pretty harmless but in the Json case it is easy to see someone parsing the output with jq where the three variants above can potentially result in very different outcomes if the user isn't careful.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    no decisionNo decision to fix or not

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions