#!/usr/bin/env python # vim:fileencoding=utf-8:noet '''Powerline configuration checker.''' from __future__ import (unicode_literals, division, absolute_import, print_function) import argparse import sys from powerline.lint import check parser = argparse.ArgumentParser(description=__doc__) parser.add_argument('-p', '--config_path', action='append', metavar='PATH') parser.add_argument('-d', '--debug', action='store_const', const=True) if __name__ == '__main__': args = parser.parse_args() sys.exit(check(args.config_path, args.debug))