Assemble the rich epilog rendered below the argparse help.
Source code in comicbox/cli/epilog.py
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316 | def build_epilog() -> Group:
"""Assemble the rich epilog rendered below the argparse help."""
renderables = [
_get_help_print_phases_table(),
_METADATA_EXAMPLES,
_DELETE_KEYS_EXAMPLES,
_MERGE_MODE_INTRO,
_get_merge_mode_table(),
_get_online_sources_table(),
_MATCH_MODE_INTRO,
_get_match_mode_table(),
_get_help_format_table(),
_DOCTOR_MODE,
_READING_LIST_MODE,
]
# Without pdffile installed there is no --pdf-pages option to document.
if PAGE_FORMAT_VALUES:
renderables.append(_get_pdf_page_format_phases_table())
return Group(*renderables)
|