mirror of
https://github.com/powerline/powerline.git
synced 2025-09-08 10:38:37 +02:00
Changes: - Add main configuration, colors.json, almost full themes and colorschemes checks - Make powerline.lint.check return whether it had problems - Make powerline-lint fail if .check reported problems - Make tests run powerline-lint - Add the script to the list of the installed scripts Fixes #278
15 lines
351 B
Python
Executable File
15 lines
351 B
Python
Executable File
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
'''Powerline configuration checker.'''
|
|
import argparse
|
|
from powerline.lint import check
|
|
import sys
|
|
|
|
|
|
parser = argparse.ArgumentParser(description=__doc__)
|
|
parser.add_argument('-p', '--config_path', metavar='PATH')
|
|
|
|
if __name__ == '__main__':
|
|
args = parser.parse_args()
|
|
sys.exit(check(args.config_path))
|