GlobalFishingWatch / gpsdio

AIS I/O with Python, dictionaries, and the GPSd AIVDM schema.
Other
6 stars 3 forks source link

Make --indent 4 the default for gpsdio info #93

Closed geowurster closed 9 years ago

geowurster commented 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.

Related to https://github.com/SkyTruth/gpsdio/issues/92.

geowurster commented 9 years ago

Done https://github.com/SkyTruth/gpsdio/pull/94