Remove CLI options clutter
kontur opened this issue · 2 comments
kontur commented
Over the course of development we've added a bunch of CLI options that need reviewing:
autonyms
: To output the CLI result with language names as autonymsspeakers
: To output the language speaker count in the CLI result
- We don't have autonyms for all; this is broken now and outputs empty strings for those languages
- Both are too granular.
I think we should drop and add a line to the end of the output:
You can find more information about a language by typing
hyperglot-data Languagename
We could include the number of overall covered speakers at the end of each CLI output, sort of like the hyperglot webapp does it at the bottom of the left-hand column.
output
: Needs fixing so the python Orthography object is output as dict into the yamlcomparison
: This outputs a kind of diff between multiple fonts, which on top can be union'ed or intersect'ed — imo this is beyond the CLI. Users wanting to compare multiple fonts in a analytical way should use the library -> remove option and provide sample code how to do thislanguages
: Prehyperglot-data
option to output a specific language's data at the end of the CLI output. This just needs to be removed, thehyperglot-data Languagename
instruction should be added instead.strict_iso
: "Flag to display names and macrolanguage data strictly abiding to ISO data. Without it apply some gentle transforms to show preferred languages names and macrolanguage structure that deviates from ISO data." — I think this adds noise/complexity to the CLI that regular users will never care about. The strict option can still be used when invoking the library, so I think for users that might do more analytical comparisons they are likely to use the library, not the CLI. I'd move to the remove.
kontur commented
@MrBrezina thoughts?
kontur commented
Will all be updated as proposed above with the next release.