Internal API#
See also
Internals#
Warning
These APIs are purely internal not covered by versioning policies, they can and will break between versions. If you need an internal API stabilized please file an issue.
- cihai_cli.cli.HUMAN_UNIHAN_FIELDS = ['char', 'ucn', 'kDefinition', 'kCantonese', 'kHangul', 'kJapaneseOn', 'kKorean', 'kMandarin', 'kVietnamese', 'kTang', 'kTotalStrokes']#
fields which are human friendly
- class cihai_cli.cli.CLILoadNamespace(**kwargs)[source]#
Bases:
Namespace
- __annotations__ = {'config_file': typing.Optional[str], 'log_file': typing.Optional[str], 'version': <class 'bool'>}#
- __module__ = 'cihai_cli.cli'#
- cihai_cli.cli.cli(_args=None)[source]#
Retrieve CJK information via CLI.
For help and example usage, see documentation:
https://cihai-cli.git-pull.com and https://cihai.git-pull.com
- cihai_cli.cli.create_info_subparser(parser)[source]#
- Return type:
- Parameters:
parser (ArgumentParser) –
- cihai_cli.cli.create_reverse_subparser(parser)[source]#
- Return type:
- Parameters:
parser (ArgumentParser) –