Table of Contents

Class: TestApp ../HappyDoc-r2_1/happydoclib/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,  *args )

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 Sat Aug 24 16:57:23 2002 by HappyDoc version 2.1