Closed geowurster closed 9 years ago
More often than not a human is using gpsdio info, especially when requesting the full output so default to --indent 4. Use str2type.ext.ClickStr2Type() to let --indent None turn off indentation to make JSON machine readable.
gpsdio info
--indent 4
str2type.ext.ClickStr2Type()
--indent None
Related to https://github.com/SkyTruth/gpsdio/issues/92.
Done https://github.com/SkyTruth/gpsdio/pull/94
More often than not a human is using
gpsdio info
, especially when requesting the full output so default to--indent 4
. Usestr2type.ext.ClickStr2Type()
to let--indent None
turn off indentation to make JSON machine readable.Related to https://github.com/SkyTruth/gpsdio/issues/92.