class Formatter(ABC):
Known subclasses: unicodes_api.cli.all_to_stdout, unicodes_api.cli.PairsDisplay
Formatter class.
| Class Variable | NAME |
subcommand name. |
| Method | __init__ |
instantiate Formatter class. |
| Instance Variable | popts |
ParserOpts instance. |
| Instance Variable | args |
argparse.Namespace value. |
| Method | setup |
setup class for run. |
| Method | set_args |
set arguments. |
| Method | setup_popts |
setup parser options. |
| Method | run |
Run program. |
| Method | iterator |
Iterator. |
| Static Method | fmt_single_normal |
format unicode value normally. |
| Static Method | fmt_dval_sub_lines |
Format unicode value as staggered line. |
| Static Method | tab_shift |
Shift text over. |
| Static Method | fmt_group_multi_detail |
Format group with detail. |
| Static Method | fmt_group_multi_detail_staggered_lines |
Format group with staggered lines. |
| Method | fmt_group_normal |
Format group normally. |
| Method | fmt_json |
Format as parsable json. |
| Instance Variable | _iterator |
Iterator if set. |
unicodes_api.cli.all_to_stdout, unicodes_api.cli.PairsDisplaysubcommand name.
Any)
unicodes_api.cli.all_to_stdout, unicodes_api.cli.PairsDisplaysetup class for run.
unicodes_api.cli.all_to_stdout, unicodes_api.cli.PairsDisplaysetup parser options.
unicodes_api.cli.all_to_stdout, unicodes_api.cli.PairsDisplayRun program.
Shift text over.
| Parameters | txtblock | Undocumented (type: str) |
| shift_len | Undocumented (type: int) |
Format group with detail.
| Parameters | title | Undocumented |
| dvals | Undocumented (type: Iterable[Dict]) |