This would appear in the generated cli as az sample --foo "{\"bar\" : {\"name\" : \"sample-name\" } }"
Ideally we would want to be able to map properties when generating the cli so that we could say in the readme.cli.md, foo-name = foo.bar.name and then the cli would be generated so that the above could be written as
az sample --foo-name "sample-name"
e.g. for object
sample: {"foo": { "bar" : { "name" : "sample-name" } } }
This would appear in the generated cli as az sample --foo "{\"bar\" : {\"name\" : \"sample-name\" } }"
Ideally we would want to be able to map properties when generating the cli so that we could say in the readme.cli.md, foo-name = foo.bar.name and then the cli would be generated so that the above could be written as az sample --foo-name "sample-name"