microcks / microcks/microcks-cli

fix: CLI error messages written to stdout instead of stderr

Open
#413 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
52
Forks
68
Avg merge
6h 54m
Merged PRs (30d)
10

Description

## Bug Description
All CLI commands (test, import, import-url, import-dir) print
error messages to stdout instead of stderr. This is incorrect
Unix behavior and breaks CI/CD pipeline scripting where stdout
and stderr are handled separately.

## Impact
Scripts and pipelines that redirect stdout (e.g. `command > output.txt`)
will have error messages mixed into their output unexpectedly.

## Fix
Already submitted in PR #410.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review PR #410 first, since the proposed fix is already submitted. Check the test, import, import-url, and import-dir commands and verify that error messages go to stderr while normal output remains on stdout; the issue is done when those behaviors are covered or confirmed.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.