def __log_step(message: str): log_step(message) global git_repo global config if config.debug and not prompt_yesno_question("[DEBUG] Continue with next step '"+message+"'?"): if git_repo: git_repo.reset() sys.exit()
def __log_step(message: str): log_step(message) global git_repo global config if config.debug and not prompt_yesno_question( "[DEBUG] Continue with next step '" + message + "'?"): if git_repo: git_repo.reset() sys.exit() ##################################################################### ############################# log_step("Initialization...") ############################# check_running_in_bash() exit_if_not_executed_in_ide_environment() config = Config() init_non_git_config(config) git_repo = GitRepo(config) git_repo.assure_clean_working_copy() github = GitHub(config) init_git_dependent_config(config, github, git_repo) exit_if_origin_is_not_correct(config)