view makeitso/python_package/{{package}}/{{main}}.py @ 195:3cb66c9e5ce8

STUB: makeitso/python_package/{{package}}/{{main}}.py
author Jeff Hammel <k0scist@gmail.com>
date Fri, 16 May 2014 23:59:10 -0700
parents 1bcf60bcc455
children d25ca7099df8
line wrap: on
line source

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
{{description}}
"""

# imports
import argparse
import os
import subprocess
import sys

# module globals
__all__ = ['main', 'Parser']
here = os.path.dirname(os.path.realpath(__file__))
string = (str, unicode)


class Parser(argparse.ArgumentParser):
    """CLI option parser"""
    def __init__(self):
        argparse.ArgumentParser.__init__(self, description=__doc__)


def main(args=sys.argv[1:]):
    """CLI"""

    # parse command line options
    parser = Parser(description=__doc__)
    options = parser.parse_args(args)

if __name__ == '__main__':
  main()