Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cleanup cosign help text with a custom printer #2887

Closed
eddiezane opened this issue Apr 11, 2023 · 5 comments · Fixed by #3011
Closed

Cleanup cosign help text with a custom printer #2887

eddiezane opened this issue Apr 11, 2023 · 5 comments · Fixed by #3011
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@eddiezane
Copy link
Member

Description

The output of cosign verify --help is unreadable due to line wrapping.

image

We solved this in kubectl by creating a custom tab printer.

kubernetes/kubernetes#104736

@eddiezane eddiezane added the enhancement New feature or request label Apr 11, 2023
@znewman01 znewman01 added the good first issue Good for newcomers label Apr 12, 2023
@hrittikhere
Copy link

Can I get this assigned? I want to try this :D

@znewman01
Copy link
Contributor

Thanks for volunteering! Let us know if you need any assistance.

@rnjudge
Copy link

rnjudge commented Apr 24, 2023

@hrittikhere are you still working on this? Otherwise, I would like to work on it :)

@hrittikhere
Copy link

Hey @rnjudge I am actually trying a few iterations and should have something by this week. I will ping you if the results are not optimal so you can take over :)

@znewman01
Copy link
Contributor

A little bit more color: you could do this one of two ways.

The "right" way to do this is to send a PR upstream to Cobra addressing spf13/cobra#810 . This will be slower and take longer.

The easy way (probably what you should do first) is to basically copy kubernetes/kubernetes#104736 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants