# Path: rebasehelper/types.py

# 
# Path: rebasehelper/constants.py
# CONFIG_PATH: str = '$XDG_CONFIG_HOME'
# 
# CONFIG_FILENAME: str = 'rebase-helper.cfg'
# 
# CHANGES_PATCH: str = 'changes.patch'
# 
# Path: rebasehelper/plugins/plugin_manager.py
# class PluginManager:
#     COLLECTIONS: List[Type[PluginCollection]] = [
#         BuildLogHookCollection,
#         BuildToolCollection,
#         SRPMBuildToolCollection,
#         CheckerCollection,
#         OutputToolCollection,
#         SpecHookCollection,
#         VersioneerCollection,
#     ]
#     def __init__(self):
#         def convert_class_name(class_name):
#     def get_options(self) -> Options:
#     def __getattr__(self, name):


import os
from rebasehelper.types import Options
from rebasehelper.constants import CONFIG_PATH, CONFIG_FILENAME, CHANGES_PATCH
from rebasehelper.plugins.plugin_manager import plugin_manager
        "help": "enable arbitrary local builder option(s), enclose %(metavar)s in quotes "
                "to pass more than one",
    },
    {
        "name": ["--srpm-builder-options"],
        "default": None,
        "metavar": "SRPM_BUILDER_OPTIONS",
        "help": "enable arbitrary local srpm builder option(s), enclose %(metavar)s in quotes "
                "to pass more than one",
    },
    # misc
    {
        "name": ["--lookaside-cache-preset"],
        "choices": ["fedpkg", "centpkg", "rhpkg", "rhpkg-sha512"],
        "default": "fedpkg",
        "help": "use specified lookaside cache configuration preset, defaults to %(default)s",
    },
    {
        "name": ["--changelog-entry"],
        "default": "- New upstream release %{version}",
        "help": "text to use as changelog entry, can contain RPM macros, which will be expanded",
    },
    {
        "name": ["--no-changelog-entry"],
        "default": False,
        "switch": True,
        "help": "do not add a changelog entry at all",
    },
    {
        "name": ["--config-file"],

# Path: rebasehelper/types.py

# 
# Path: rebasehelper/constants.py
# CONFIG_PATH: str = '$XDG_CONFIG_HOME'
# 
# CONFIG_FILENAME: str = 'rebase-helper.cfg'
# 
# CHANGES_PATCH: str = 'changes.patch'
# 
# Path: rebasehelper/plugins/plugin_manager.py
# class PluginManager:
#     COLLECTIONS: List[Type[PluginCollection]] = [
#         BuildLogHookCollection,
#         BuildToolCollection,
#         SRPMBuildToolCollection,
#         CheckerCollection,
#         OutputToolCollection,
#         SpecHookCollection,
#         VersioneerCollection,
#     ]
#     def __init__(self):
#         def convert_class_name(class_name):
#     def get_options(self) -> Options:
#     def __getattr__(self, name):


# Path: rebasehelper/options.py
import os
from rebasehelper.types import Options
from rebasehelper.constants import CONFIG_PATH, CONFIG_FILENAME, CHANGES_PATCH
from rebasehelper.plugins.plugin_manager import plugin_manager

        "help": "enable arbitrary local builder option(s), enclose %(metavar)s in quotes "
                "to pass more than one",
    },
    {
        "name": ["--srpm-builder-options"],
        "default": None,
        "metavar": "SRPM_BUILDER_OPTIONS",
        "help": "enable arbitrary local srpm builder option(s), enclose %(metavar)s in quotes "
                "to pass more than one",
    },
    # misc
    {
        "name": ["--lookaside-cache-preset"],
        "choices": ["fedpkg", "centpkg", "rhpkg", "rhpkg-sha512"],
        "default": "fedpkg",
        "help": "use specified lookaside cache configuration preset, defaults to %(default)s",
    },
    {
        "name": ["--changelog-entry"],
        "default": "- New upstream release %{version}",
        "help": "text to use as changelog entry, can contain RPM macros, which will be expanded",
    },
    {
        "name": ["--no-changelog-entry"],
        "default": False,
        "switch": True,
        "help": "do not add a changelog entry at all",
    },
    {
        "name": ["--config-file"],

        "default": os.path.join(CONFIG_PATH, CONFIG_FILENAME),