Skip to content

add --col-width to helm search - #3949

Merged
bacongobbler merged 2 commits into
helm:masterfrom
maratoid:master
Apr 23, 2018
Merged

bacongobbler merged 2 commits into
helm:masterfrom
maratoid:master

Conversation

@maratoid

Copy link
Copy Markdown

Fixes #3947

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 23, 2018

@mikeln mikeln left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM
(but I have no approval rights)

@bacongobbler bacongobbler left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

one minor whitespacing issue, otherwise LGTM

Comment thread cmd/helm/search.go
@@ -1,12 +1,9 @@
/*
Copyright 2016 The Kubernetes Authors All rights reserved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

can you add these back please? :)

@bacongobbler

Copy link
Copy Markdown
Member

Also looks like you need to run make docs and commit those changes as well.

@bacongobbler
bacongobbler merged commit 7a65f74 into helm:master Apr 23, 2018
@bacongobbler

Copy link
Copy Markdown
Member

thanks!

splisson pushed a commit to splisson/helm that referenced this pull request Dec 6, 2018
* add customizeable --col-width

* make docs. whitespacing

Signed-off-by: Sebastien Plisson <[email protected]>
splisson pushed a commit to splisson/helm that referenced this pull request Dec 6, 2018
* add customizeable --col-width

* make docs. whitespacing

Signed-off-by: Sebastien Plisson <[email protected]>
splisson pushed a commit to splisson/helm that referenced this pull request Dec 6, 2018
* add customizeable --col-width

* make docs. whitespacing
splisson pushed a commit to splisson/helm that referenced this pull request Dec 6, 2018
* add customizeable --col-width

* make docs. whitespacing
jianghang8421 pushed a commit to jianghang8421/helm that referenced this pull request Feb 17, 2019
* add customizeable --col-width

* make docs. whitespacing
@mfalkvidd

Copy link
Copy Markdown

In case someone else comes looking for this feature, the flag is now --max-col-width.

Example use to automatically get the correct width:

helm search --max-col-width $(tput cols)

@tjanson

tjanson commented Nov 16, 2023

Copy link
Copy Markdown

This flag is no longer present in helm list. Is that a bug? Did it simply get lost in refactoring?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants