template

command
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

bug

# this works in standard flag, 
bin/template < /tmp/sample.yml --set podLabels='{"hello":"world"}'

but not in spf13/pflag, it throws error

bin/template < /tmp/sample.yml --set podLabels='{"hello":"world"}'

invalid argument "podLabels={\"hello\":\"world\"}" for "-s, --set" flag: parse error on line 1, column 12: bare " in non-quoted-field
Usage of bin/template:
  -s, --set strings       --set key=value --set key2=value2
  -t, --template string   -t <template-file>
invalid argument "podLabels={\"hello\":\"world\"}" for "-s, --set" flag: parse error on line 1, column 12: bare " in non-quoted-field

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL