ipfs / ipfs/go-ipfs-cmds

Writing to stderr from CLI encoder

Open
#70 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
52
Forks
45
PR merge metrics
No merged PRs in 30d

Description

So, the old interface provided access to stderr. The new one assumes that all *values* emitted should go to stdout. It assumes that all *errors* should be returned via `SetError`. Unfortunately, this makes it impossible to migrate some commands without breaking the API.

Also, as I've stated in #62, I'd like to just use `SetError` for terminal errors. That is, "status" errors are just output.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.