Skip to content

Currate stdout and stderr in "core" #849

Closed

Description

@smoyer64

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, both stdout and stderr should be redirectable.
  • During "core" initialization, stderr should be redirectable.
  • All error conditions should be returned to callers via Go errors without output to either stdout or stderr.

Activity

  1. self-assigned this
    on Aug 17, 2022
  2. added a commit that references this issue on Oct 1, 2022
    aa23d8d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/cliRelates to the CLI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions