-
Notifications
You must be signed in to change notification settings - Fork 13
Improvement/help #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement/help #18
Conversation
code42_arg_parser = ArgumentParser() | ||
subcommand_parser = code42_arg_parser.add_subparsers() | ||
description = u""" | ||
Groups: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to call these top level subcommands "Groups" or "Modules". Azure calls them "groups". They are not really commands themselves, that is why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense to me, and modules already means something different in both py42 and python itself.
""" | ||
parser_profile = subcommand_parser.add_parser( | ||
u"profile", | ||
formatter_class=RawDescriptionHelpFormatter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point, I really wish the profile
module was broken up into subcommands the same way securitydata
is. We also need a way a better to reuse some logic for some of these usage and description strings. This should be addressed on that refactoring ticket that we have though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
my thoughts exactly
No description provided.