These patches introduce a new command-line interface that provides
distinct subcommands for the user.
Through the use of argparse, users see simpler help menus and can
view positional and optional arguments for all tuna commands.
The internal implementation is also simplified by removing the need
for a saved state for each iteration of parsing.
This new implementation parses first, and provides warnings at the
parser level, before executing any actions.
Leah Leshchinsky (3):
tuna: Update command-line interface
tuna: Edit param variable to print full policy name
tuna: Remove unused functions and globals
sample.py | 630 ++++++++++++++++++++++++++++++++++++++++++++++++++
tuna-cmd.py | 642 ++++++++++++++++++++-------------------------------
tuna/tuna.py | 7 +-
3 files changed, 880 insertions(+), 399 deletions(-)
create mode 100755 sample.py
--
2.27.0