def main(self, **kwargs):
    'Main entry point.\n\n        Keyword arguments:\n            searchpath (str), default: "."\n                Search path for .cfg files.\n            display (str), default: "all"\n                List of metadata to display in search results.\n            keywords (str), default: None\n                Comma delimited list of keywords for filtering search results.\n            features (str), default: None\n                Comma delimited list of features for filtering search results.\n            authors (str), default: None\n                Comma delimited list of authors for filtering search results.\n            version (str), default: None\n                PyLith version for filtering search results.\n        '
    args = (argparse.Namespace(**kwargs) if kwargs else self._parse_command_line())
    self._set_filters(args)
    for filename in sorted(pathlib.Path(args.searchpath).glob('**/*.cfg')):
        metadata = fromFile(filename)
        if metadata:
            if (not len(metadata.arguments)):
                if args.verbose:
                    print(f'INFO: Skipping file {filename} with only base metadata.')
                continue
            filter_fn = (self._apply_filters_incompatible if args.incompatible else self._apply_filters)
            if filter_fn(metadata):
                self._display_metadata(filename, metadata, args.display)
            elif args.verbose:
                print(f'MISMATCH: File {filename} did not pass metadata filter.')
        elif args.verbose:
            print(f'INFO: File {filename} missing simulation metadata.')
Main entry point.

Keyword arguments:
    searchpath (str), default: "."
        Search path for .cfg files.
    display (str), default: "all"
        List of metadata to display in search results.
    keywords (str), default: None
        Comma delimited list of keywords for filtering search results.
    features (str), default: None
        Comma delimited list of features for filtering search results.
    authors (str), default: None
        Comma delimited list of authors for filtering search results.
    version (str), default: None
        PyLith version for filtering search results.
def main(self, **kwargs):
    'Main entry point.\n\n        Keyword arguments:\n            searchpath (str), default: "."\n                Search path for .cfg files.\n            display (str), default: "all"\n                List of metadata to display in search results.\n            keywords (str), default: None\n                Comma delimited list of keywords for filtering search results.\n            features (str), default: None\n                Comma delimited list of features for filtering search results.\n            authors (str), default: None\n                Comma delimited list of authors for filtering search results.\n            version (str), default: None\n                PyLith version for filtering search results.\n        '
    args = (argparse.Namespace(**kwargs) if kwargs else self._parse_command_line())
    self._set_filters(args)
    for filename in sorted(pathlib.Path(args.searchpath).glob('**/*.cfg')):
        metadata = fromFile(filename)
        if metadata:
            if (not len(metadata.arguments)):
                if args.verbose:
                    print(f'INFO: Skipping file {filename} with only base metadata.')
                continue
            filter_fn = (self._apply_filters_incompatible if args.incompatible else self._apply_filters)
            if filter_fn(metadata):
                self._display_metadata(filename, metadata, args.display)
            elif args.verbose:
                print(f'MISMATCH: File {filename} did not pass metadata filter.')
        elif args.verbose:
            print(f'INFO: File {filename} missing simulation metadata.')