#NEWLINE# @ classmethod #NEWLINE# def setup_parser( cls , subparsers ) : #NEWLINE# #INDENT# parser = subparsers . add_parser ( 'search' , help = 'search datadog' ) #NEWLINE# verb_parsers = parser . add_subparsers ( title = 'Verbs' , dest = 'verb' ) #NEWLINE# verb_parsers . required = True #NEWLINE# query_parser = verb_parsers . add_parser ( 'query' , help = 'Search datadog.' ) #NEWLINE# query_parser . add_argument ( 'query' , help = 'optionally faceted search query' ) #NEWLINE# query_parser . set_defaults ( func = parser . _query )