def get_parser(self, prog_name): parser = super(ListCommand, self).get_parser(prog_name) add_resource_filter_arguments(parser, add_project=False) parser.add_argument('--show-key', default=False, action='store_true') parser.add_argument('--show-short-key', default=False, action='store_true') return parser
def get_parser(self, prog_name): parser = super(ListCommand, self).get_parser(prog_name) parser.add_argument( '--detailed', default=False, action='store_true' ) add_resource_filter_arguments(parser, add_region=False) return parser
def get_parser(self, prog_name): parser = super(ListCommand, self).get_parser(prog_name) optional = parser.add_argument_group('Optional arguments') optional.add_argument( '--detailed', default=False, action='store_true', ) add_resource_filter_arguments(parser) return parser