Table of Contents

Module: CommandLineApp ../HappyDoc-r2_1/happydoclib/CommandLineApp.py

Base class for building command line applications.

The CommandLineApp class makes creating command line applications as simple as defining callbacks to handle options when they appear in sys.argv.

To do

  • enhance intelligence of option handling

    • boolean options should not need to be implemented as functions

    • enable/disable with/without options

    • type checking for option arguments

Imported modules   
from StreamFlushTest import StreamFlushTest
import getopt
import pprint
import string
import sys
import unittest
Classes   

CLATestCase

CommandLineApp

Base class for building command line applications.

SubClassTestApp

new doc string

TestApp

This is a simple test application.


Table of Contents

This document was automatically generated on Sat Aug 24 16:57:23 2002 by HappyDoc version 2.1