def METHOD_NAME(self, context):
    kinds = get_kinds()
    kinds.extend(['augmentations', 'all'])
    self.parser.add_argument('kind', metavar='KIND',
                             help=('Specify the kind of plugin to list. Must be '
                                   'one of: {}'.format(', '.join(sorted(kinds)))),
                             choices=sorted(kinds))
    self.parser.add_argument('-n', '--name',
                             help='Filter results by the name specified')
    self.parser.add_argument('-o', '--packaged-only', action='store_true',
                             help='''
                             Only list plugins packaged with WA itself. Do
                             not list plugins installed locally or from
                             other packages.
                             ''')
    self.parser.add_argument('-p', '--platform',
                             help='''
                             Only list results that are supported by the
                             specified platform.
                             ''')