kangal icon indicating copy to clipboard operation
kangal copied to clipboard

Bug: cannot include double quote in multiple CLI args

Open flah00 opened this issue 2 years ago • 2 comments

This project has been a boon. Thanks for the work y'all put into it!

I need to specify a pod annotation as JSON, but the quotes trip up the CLI parser, eg

$ kangal c --master-url=localhost:10000 --kubeconfig /dev/null --pod-annotation='key:{"akey":1}'
Error: invalid argument "key:{\"akey\":1}" for "--pod-annotation" flag: parse error on line 1, column 6: bare " in non-quoted-field

flah00 avatar Sep 15 '23 15:09 flah00

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Oct 17 '23 15:10 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 28 '24 09:03 stale[bot]