def list(pattern): "List configuration options." from fnmatch import fnmatch from sentry.options import default_manager as manager for key in manager.all(): if fnmatch(key.name, pattern): click.echo('%s %s' % (key.name, key.type.name.upper()))