将 Helm 默认输出格式设置为 YAML
How do I set the default output of all helm to yaml
instead of table
?
I'm always fighting with the table format (see below).
I want this to be the default. It's much neater - but do I really have to type -o yaml
every time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以为外壳创建一个别名,类似的东西
,然后将其添加到〜/.basrc或〜/.zshrc或所使用的Shell RC文件中。
在此之后,调用
hl
将为您提供所需的结果You can create an alias for your shell, something like
and add it to your ~/.basrc or ~/.zshrc or whichever shell rc file you are using.
After that invoking
hl
will give you desired result