Package turbogears :: Package command :: Module base
[hide private]

Module base

source code

Commands for the TurboGears command line tool.

Classes [hide private]
  CommandWithDB
Base class for commands that need to use the database
  SQL
Wrapper command for sqlobject-admin, and provide some sqlalchemy support.
  Shell
Convenient version of the Python interactive shell.
  ToolboxCommand
Functions [hide private]
 
silent_os_remove(fname)
Tries to remove file FNAME but mutes any error that may happen.
source code
 
main()
Main command runner.
source code
Variables [hide private]
  no_connection_param = ['help', 'list']
  no_model_param = ['help']
  commands = None
Function Details [hide private]

silent_os_remove(fname)

source code 

Tries to remove file FNAME but mutes any error that may happen.

Returns True if file was actually removed and false otherwise

main()

source code 

Main command runner. Manages the primary command line arguments.