def should_commit( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='Run GIT COMMIT?', default=default, fmt=fmt, )
def should_build( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question=f'Do you want to BUILD WHEEL?\n', default=default, fmt=fmt, )
def should_run_git( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='Run ANY GIT COMMANDS?', default=default, fmt=fmt, )
def should_add_all( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='Run GIT ADD ALL ("git add --all")?', default=default, fmt=fmt, )
def should_push( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='GIT PUSH to GITHUB?', default=default, fmt=fmt, )
def should_tag( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='Run GIT TAG?', default=default, fmt=fmt, )
def should_bump_version( default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question='BUMP VERSION number?\n', default=default, fmt=fmt, )
def should_push( dst: str, default: str = 'y', fmt=None, ) -> bool: return prompt.confirm( question=f'Do you want to PUSH package to {dst}?\n', default=default, fmt=fmt, )
def should_run_any( name: str, default: str = "", fmt=None, ) -> bool: return prompt.confirm( question=f"Run ANY {name}?\n", default=default, fmt=fmt, )
def should_build( item: str, default: str = "", fmt=None, ) -> bool: return prompt.confirm( question=f"Do you want to BUILD {item}?\n", default=default, fmt=fmt, )
def should_run_file( name: str, default: str = "", fmt=None, ) -> bool: return prompt.confirm( question=f"Do you want to RUN {name}?\n", default=default, fmt=fmt, )
def should_push( item: str, dst: str, default: str = "", fmt=None, ) -> bool: return prompt.confirm( question=f"Do you want to PUSH {item} to {dst}?\n", default=default, fmt=fmt, )
def confirm_diff( default: str = 'y', fmt=None, ) -> bool: git_cmd.diff() return prompt.confirm( question='GIT DIFF ok?', default=default, fmt=fmt, )
def confirm_status( default: str = 'y', fmt=None, ) -> bool: git_cmd.status() return prompt.confirm( question='GIT STATUS ok?', default=default, fmt=fmt, )