import argparse

def parser() -> argparse.ArgumentParser:
    parser = argparse.ArgumentParser(
        usage = "%(prog)s [OPTION]",
        description = "Manage a context-base next-action list."
    )
    parser.add_argument(
        "-v", "--version", action = "version",
        version = f"{parser.prog} version 1.0.0"
    )
    parser.add_argument("-d", "--database")
    return parser