ssato / python-anyconfig

Python library provides common APIs to load and dump configuration files in various formats
MIT License
278 stars 31 forks source link

anyconfig_cli should support extra options will be given to anyconfig.{load,dump} #107

Closed ssato closed 5 years ago

ssato commented 5 years ago

anyconfig_cli should support extra options will be given to anyconfig.{load,dump}, for example,

$ anyconfig_cli -I xml /etc/xml/catalog -O json --extra-opts 'indent:2'  # JSON output will be indented with 2.
ssato commented 5 years ago

Implemented in the commit 00e689c.