def METHOD_NAME(parser):
    """
    :type parser: argparse.ArgumentParser
    """
    TEMPLATE = '''_%(prog)s() {
    local cur="${COMP_WORDS[COMP_CWORD]}"
    local prev="${COMP_WORDS[COMP_CWORD-1]}"
    case "${prev}" in