Table of Contents

Module: CommandLineApp PmwContribD-r2_0_1/SampleApps/WhackyChat/Server/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   
import getopt
import string
import sys
Classes   
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 Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0