App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | List of all members
google.appengine.tools.appcfg.AppCfgApp.Action Class Reference
Inheritance diagram for google.appengine.tools.appcfg.AppCfgApp.Action:

Public Member Functions

def __init__
 
def __call__
 

Public Attributes

 function
 
 usage
 
 short_desc
 
 long_desc
 
 error_desc
 
 options
 
 uses_basepath
 
 hidden
 

Detailed Description

Contains information about a command line action.

Attributes:
  function: The name of a function defined on AppCfg or its subclasses
that will perform the appropriate action.
  usage: A command line usage string.
  short_desc: A one-line description of the action.
  long_desc: A detailed description of the action.  Whitespace and
formatting will be preserved.
  error_desc: An error message to display when the incorrect arguments are
given.
  options: A function that will add extra options to a given OptionParser
object.
  uses_basepath: Does the action use a basepath/app-directory (and hence
app.yaml).
  hidden: Should this command be shown in the help listing.

Member Function Documentation

def google.appengine.tools.appcfg.AppCfgApp.Action.__call__ (   self,
  appcfg 
)
Invoke this Action on the specified AppCfg.

This calls the function of the appropriate name on AppCfg, and
respects polymophic overrides.

Args:
  appcfg: The appcfg to use.
Returns:
  The result of the function call.

The documentation for this class was generated from the following file: