Table of Contents

Class: TestApp PmwContribD-r2_0_1/SampleApps/WhackyChat/Server/CommandLineApp.py

This is a simple test application.

It defines several optionHandler methods to handle some example options. One option of each type is handled by an example.

The __doc__ string for the class should contain the info about how to use the application.

Base Classes   
CommandLineApp
Methods   
main
optionHandler_a
optionHandler_b
optionHandler_long_form_option
optionHandler_long_form_with_value
  main 
main ( self )

main loop

  optionHandler_a 
optionHandler_a ( self,  optValue )

get a value for a

  optionHandler_b 
optionHandler_b ( self )

toggle the value of b

  optionHandler_long_form_option 
optionHandler_long_form_option ( self )

boolean option

  optionHandler_long_form_with_value 
optionHandler_long_form_with_value ( self,  optValue )

First line of help. get a value for long form option

Default:<manually inserted>


Table of Contents

This document was automatically generated on Mon Sep 17 17:47:46 2001 by HappyDoc version r2_0