667ff55af1
Now have a way to invoke the editor functionality from the command line and also provisions to include the server and client parsers.
5 lines
353 B
Python
Executable File
5 lines
353 B
Python
Executable File
import argparse
|
|
parser = argparse.ArgumentParser(prog = "luksrku edit", description = "", add_help = False)
|
|
parser.add_argument("-v", "--verbose", action = "count", default = 0, help = "Increase verbosity. Can be specified multiple times.")
|
|
parser.add_argument("filename", metavar = "filename", nargs = "?", type = str, help = "Database file to edit.")
|