跳转至主要内容

nhctl yaml

Yaml tools

Usage:
nhctl yaml [command]
Available Commands:
from-json Convert json to yaml
to-json Convert yaml to json

nhctl yaml from-json#

Convert json to yaml

Usage#

nhctl yaml from-json [flags]

Flags#

Flags:
-h, --help help for from-json
Global Flags:
--debug enable debug level log
--kubeconfig string the path of the kubeconfig file
-n, --namespace string kubernetes namespace

nhctl yaml to-json#

Convert yaml to json

Usage#

nhctl yaml to-json [flags]

Flags#

Flags:
-h, --help help for yaml
Global Flags:
--debug enable debug level log
--kubeconfig string the path of the kubeconfig file
-n, --namespace string kubernetes namespace