but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. """ import optparse import os import pdb import pexpect import re import sys import testhelp import time import toolframe import util as U import unittest bscr = U.package_module(__name__) # --------------------------------------------------------------------------- def main(args=None): if args is None: args = sys.argv U.dispatch(__name__, 'pt', args) # --------------------------------------------------------------------------- def pt_newpy(args): '''newpy - Create a new python program usage: pytool newpy <program-name>
GNU General Public License for more details. """ import optparse import os import pdb import random import re import stat import string import sys import time import toolframe import unittest import util bscr = util.package_module(__name__) # ----------------------------------------------------------------------------- def main(args=None): """ CLEP """ if args is None: args = sys.argv util.dispatch('bscr.fl', 'fl', args) # --------------------------------------------------------------------------- def fl_diff(args): """diff - compare file to its most recently 'saved' version
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. """ from docopt_dispatch import dispatch import os import pdb import pexpect import py import re import sys import util as U BSCR = U.package_module(__name__) # --------------------------------------------------------------------------- def main(args=None): """ Where the action starts """ dispatch(__doc__) # --------------------------------------------------------------------------- @dispatch.on('help') def help(**kwa): """ Show the help information from __doc__