Skip to content

Conversation

antazoey
Copy link
Contributor

No description provided.

@antazoey antazoey requested review from alanag13 and timabrmsn March 16, 2020 18:02
@antazoey antazoey changed the title Improvement/help [WIP] Improvement/help Mar 16, 2020
code42_arg_parser = ArgumentParser()
subcommand_parser = code42_arg_parser.add_subparsers()
description = u"""
Groups:
Copy link
Contributor Author

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.

Copy link
Contributor

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,
Copy link
Contributor Author

@antazoey antazoey Mar 16, 2020

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my thoughts exactly

@antazoey antazoey changed the title [WIP] Improvement/help Improvement/help Mar 16, 2020
@antazoey antazoey merged commit 231cf93 into master Mar 17, 2020
@antazoey antazoey deleted the improvement/help branch March 17, 2020 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants