docker_tag_updater.parser
#
The command line parser module.
This module defines the parser that is used for the CLI tool (image-version-checker).
- ivc_parser = ArgumentParser(prog='sphinx-build', usage=None, description="Check for updates to your Docker images' version tags.", formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True)#
The argument parser for image-version-checker.
- Parameters:
image (str) – The name of the container image, e.g., docker.io/alpine:3.19.1
tag (str, default: latest) – The base tag to compare the container image to, e.g., latest, edge, etc.
rule (str, default: default) – The rule used to parse the image tags/versions into a semantic version string for comparison. The available options now are (default, docker.io, docker, lscr, lscr.io, linuxserver)
verbose (bool, default: False) – Specify the verbosity of the inspector function.
See also
docker_tag_updater.helpers.regex_rules
For more information about rules.