argclz.core.print_help#

argclz.core.print_help(instance, file: TextIO = sys.stdout, prog: str | None = None) None[source]#
argclz.core.print_help(instance, file: Literal[None], prog: str | None = None) str

print help document.

Parameters:
  • instance – any instance that contains argument.

  • file – output stream.

  • prog – program name.

Returns:

help document string if file is None. Otherwise, nothing return.