# 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
    {
        "name": ["--non-interactive"],
        "default": False,
        "switch": True,
        "dest": "non_interactive",
        "help": "do not interact with user",
    },
    {
        "name": ["--favor-on-conflict"],
        "choices": ["downstream", "upstream", "off"],
        "default": "off",
        "dest": "favor_on_conflict",
        "help": "favor downstream or upstream changes when conflicts appear",
    },
    {
        "name": ["--not-download-sources"],
        "default": False,
        "switch": True,
        "help": "do not download sources",
    },
    {
        "name": ["-w", "--keep-workspace"],
        "default": False,
        "switch": True,
        "help": "do not remove workspace directory after finishing",
    },
    {
        "name": ["--apply-changes"],
        "default": False,
        "switch": True,

# 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

    {
        "name": ["--non-interactive"],
        "default": False,
        "switch": True,
        "dest": "non_interactive",
        "help": "do not interact with user",
    },
    {
        "name": ["--favor-on-conflict"],
        "choices": ["downstream", "upstream", "off"],
        "default": "off",
        "dest": "favor_on_conflict",
        "help": "favor downstream or upstream changes when conflicts appear",
    },
    {
        "name": ["--not-download-sources"],
        "default": False,
        "switch": True,
        "help": "do not download sources",
    },
    {
        "name": ["-w", "--keep-workspace"],
        "default": False,
        "switch": True,
        "help": "do not remove workspace directory after finishing",
    },
    {
        "name": ["--apply-changes"],
        "default": False,
        "switch": True,

        "help": "apply {} after a successful rebase".format(CHANGES_PATCH),