Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cleanup the output of search (the text goes to stderr not stdout). #421

Merged
merged 1 commit into from
Aug 22, 2021

Conversation

dlorenc
Copy link
Member

@dlorenc dlorenc commented Aug 21, 2021

The output looks the same:

$ ./rekor-cli search --sha sha256:1189a2207be3e93e91aaeff323dc2804576f188527afe3cc2e9a9a0c688344df
Found matching entries (listed by UUID):
60a1e4f9c78ae76b2b2a06745340b8ed74c8b2ea2c124b8520ba319d03957906
3873a54462deab6320d1cac993b31b36bb28ff5c2f0d16993909b61907235ec6

but the output goes to stderr:

a=$(./rekor-cli search --sha sha256:1189a2207be3e93e91aaeff323dc2804576f188527afe3cc2e9a9a0c688344df)
Found matching entries (listed by UUID):

Fixes #420.

Signed-off-by: Dan Lorenc dlorenc@google.com

Fixes sigstore#420.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
Copy link
Member

@bobcallaway bobcallaway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dlorenc dlorenc merged commit 21fa448 into sigstore:main Aug 22, 2021
@dlorenc dlorenc deleted the outerr branch August 22, 2021 12:22
@cpanato cpanato added this to the v1.0.0 milestone Aug 22, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quiet mode for rekor-cli search
3 participants