Steve Moyer (smoyer64) opened (edited)
As noted a comment in #828, the "core" of git-bug should support the CLI's need for parsable text output. For the purposes of this issue, "core" comprises the following packages: cache, entities and repository. In order to enable this behavior, the "core" should have the following traits:
- There should be no output to
stdout - Minimize the amount of output to
stderr -
During "core" initialization, bothstdoutandstderrshould be redirectable. - During "core" initialization,
stderrshould be redirectable. - All error conditions should be returned to callers via Go
errors without output to eitherstdoutorstderr.