File: powerline-config

package info (click to toggle)
powerline 2.8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,856 kB
  • sloc: python: 22,736; sh: 1,783; ansic: 131; makefile: 69; csh: 51
file content (22 lines) | stat: -rwxr-xr-x 582 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/python3
# vim:fileencoding=utf-8:noet
from __future__ import (unicode_literals, division, absolute_import, print_function)

try:
	from powerline.commands.config import get_argparser
except ImportError:
	import sys
	import os
	sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(os.path.realpath(__file__)))))
	from powerline.commands.config import get_argparser

import powerline.bindings.config as config


if __name__ == '__main__':
	parser = get_argparser()
	args = parser.parse_args()

	pl = config.create_powerline_logger(args)

	args.function(pl, args)