linkcheck.cmdline
Utility functions suitable for command line clients.
Functions
|
Append given commandline URL to input queue. |
|
Print available plugins and exit. |
|
Print a program msg text to stderr and exit. |
|
Print the program version and exit. |
Classes
|
Custom argument parser to format help text. |
- class linkcheck.cmdline.LCArgumentParser(prog=None, usage=None, description=None, epilog=None, parents=[], formatter_class=<class 'argparse.HelpFormatter'>, prefix_chars='-', fromfile_prefix_chars=None, argument_default=None, conflict_handler='error', add_help=True, allow_abbrev=True, exit_on_error=True)[source]
Bases:
ArgumentParser
Custom argument parser to format help text.
- linkcheck.cmdline.aggregate_url(aggregate, url, err_exit_code=2)[source]
Append given commandline URL to input queue.