docs: Document helm env --output json|yaml on the cheat sheet#2163
Draft
promptless-for-oss wants to merge 1 commit into
Draft
docs: Document helm env --output json|yaml on the cheat sheet#2163promptless-for-oss wants to merge 1 commit into
promptless-for-oss wants to merge 1 commit into
Conversation
Signed-off-by: promptless[bot] <promptless[bot]@users.noreply.github.com>
| helm history <release> # Historical revisions for a given release. | ||
| helm history <release> --show-rollback-revision # Add a ROLLBACK column showing which revision each rollback targeted | ||
| helm env # Env prints out all the environment information in use by Helm. | ||
| helm env -o json # Prints the environment information in the specified format. Allowed values: env, json, yaml (default env) |
Contributor
Author
There was a problem hiding this comment.
Added the helm env -o json cheat-sheet line because PR #32282 adds an --output/-o flag to helm env in pkg/cmd/env.go accepting env (default), json, and yaml. The allowed values and default (env) come directly from the flag's envFormats() and envFormatKeyValue default in that diff.
Source: helm/helm#32282
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Adds the new
--output/-oflag forhelm env(acceptingenv,json,yaml) to the Helm cheat sheet, alongside the existing single-variable example, so the structured output capability is discoverable in curated prose docs. The auto-generated CLI reference already picks up the flag from cobra help.Trigger Events
Tip: Tell your friends working on non-commercial open-source projects to apply for free Promptless access at promptless.ai/oss ❤️