luksrku/parsers/parser_edit.py
Johannes Bauer 667ff55af1 Integrate editor properly from command line
Now have a way to invoke the editor functionality from the command line
and also provisions to include the server and client parsers.
2019-10-23 11:34:40 +02:00

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.")