v0.10.0
This release improves the usability of the command-line interface.
- Remarshal now tries to determine the input and the output format by the file extension.
- The output file can be given as a positional argument. For example, you can use
remarshal input.toml output.json
ortoml2json input.toml output.json
instead ofremarshal input.toml -o output.json
ortoml2json input.toml --output output.json
. --if
and--of
have been added as synonyms for-if
/--input-format
and-of
/--output-format
respectively. Two dashes with a two-letter flag are more standard.-if
and-of
are deprecated, but will not be removed at least until v1.0.0.- BREAKING CHANGE:
--indent-json
now requires a number. Replace existing uses of--indent-json
with--indent-json 2
for identical behavior. - The shebang in
remarshal.py
has been changed to#! /usr/bin/env python3
from#! /usr/bin/env python
. Full Python 2.7 compatibility remains.