blob: bb60dceb21ce7128ab8dbdf5f10e505488fe2291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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
|