Table of Contents

Module: CommandLineApp ../HappyDoc-r2_0/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 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 Sun Dec 30 07:30:04 2001 by HappyDoc version 2.0