Back to Oh My Posh

Helm

website/docs/segments/cli/helm.mdx

29.12.01.3 KB
Original Source

What

Display the version of Helm

Sample Configuration

import Config from '@site/src/components/Config.js';

<Config data={{ "background": "#a7cae1", "foreground": "#100e23", "powerline_symbol": "\ue0b0", "template": " \ue7fb {{ .Version }}", "style": "powerline", "type": "helm" }}/>

Options

NameTypeDefaultDescription
display_modestringalways<ul><li>always: the segment is always displayed</li><li>files: the segment is only displayed when a chart source file Chart.yaml (or Chart.yml) or helmfile helmfile.yaml (or helmfile.yml) is present </li></ul>

Template (info)

:::note default template

template
 Helm {{ .Version }}

:::

Properties

NameTypeDescription
.VersionstringHelm cli version