view paint/main.py @ 87:5a624b3c1007 default tip

py35
author Jeff Hammel <k0scist@gmail.com>
date Sun, 19 Feb 2017 17:50:00 -0800
parents 758a3e56a738
children
line wrap: on
line source

#!/usr/bin/env python

"""
python PAckage INTrospection command line script
"""

import commandparser
import package
import sys

def main(args=sys.argv[1:]):
    """
    console script entry point for PaInt. uses CommandParser:
    http://k0s.org/hg/CommandParser
    """
    parser = commandparser.CommandParser(package.Package)
    parser.invoke(args)

if __name__ == '__main__':
    main()