Closed ptitfred closed 7 years ago
Not sure if it's a bug in the CLI or in the API itself.
It's ok in the --debug
output.
All the output of the export command is downcased, which looks wrong :/
OK so the default (pretty) formatter doens't work well for that kind of endpoint :)
I've tried the bash but :
$ ./ovh-eu --format bash domain zone fretlink.com export
local variable 'value' referenced before assignment
JSON formatter is ok but I then need an extra step to reformat it to a clear text file.
echo console.log\($(./ovh-eu --format json domain zone fretlink.com export)\) | node
I've renamed the title to reflect my remarks.
Hmm, calling camel_to_human
https://github.com/yadutaf/ovh-cli/blob/master/ovhcli/utils.py#L40 on values is a non-sense anyway. It should only be called for labels, as most of them are... well. I need to fix this.
I pushed a fix on branch fix-11. Can you confirm this fixes this issue ?
Yes, thanks a lot !
Example:
Expected value:
Not sure if it's a bug in the CLI or in the API itself.