2013-03-09 13:16:00 +01:00
|
|
|
#!/usr/bin/env python
|
2013-04-13 16:51:49 +02:00
|
|
|
# vim:fileencoding=utf-8:noet
|
2014-08-31 20:55:26 +02:00
|
|
|
from __future__ import (unicode_literals, division, absolute_import, print_function)
|
|
|
|
|
2013-03-09 13:16:00 +01:00
|
|
|
import sys
|
|
|
|
|
2014-08-31 20:55:26 +02:00
|
|
|
from powerline.lint import check
|
2014-10-25 19:53:15 +02:00
|
|
|
from powerline.commands.lint import get_argparser
|
2014-08-31 20:55:26 +02:00
|
|
|
|
2013-03-09 13:16:00 +01:00
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2014-10-25 19:53:15 +02:00
|
|
|
args = get_argparser().parse_args()
|
2013-11-02 21:54:32 +01:00
|
|
|
sys.exit(check(args.config_path, args.debug))
|