Package moap :: Package command :: Module bug :: Class Query
[hide private]
[frames] | no frames]

Class Query

source code

extern.command.command.Command --+    
                                 |    
       extern.log.log.Loggable --+    
                                 |    
              util.util.LogCommand --+
                                     |
                                    Query

Instance Methods [hide private]
 
addOptions(self)
Override me to add options to the parser.
source code
 
handleOptions(self, options)
Handle the parsed options.
source code
 
do(self, args)
Override me to implement the functionality of the command.
source code

Inherited from util.util.LogCommand: __init__, debug

Inherited from extern.command.command.Command: getRootCommand, outputHelp, outputUsage, parse

Inherited from extern.log.log.Loggable: doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  summary = 'query for bugs'
short one-line summary of the command
  description = 'Query the bug database for bugs.\n\nYou can spe...
longer paragraph explaining the command

Inherited from extern.command.command.Command: aliasedSubCommands, aliases, name, parentCommand, parser, subCommandClasses, subCommands, usage

Inherited from extern.log.log.Loggable: logCategory

Method Details [hide private]

addOptions(self)

source code 

Override me to add options to the parser.

Overrides: extern.command.command.Command.addOptions
(inherited documentation)

handleOptions(self, options)

source code 

Handle the parsed options.

Overrides: extern.command.command.Command.handleOptions
(inherited documentation)

do(self, args)

source code 

Override me to implement the functionality of the command.

Overrides: extern.command.command.Command.do
(inherited documentation)

Class Variable Details [hide private]

description

longer paragraph explaining the command
Value:
'''Query the bug database for bugs.

You can specify an output format string with --format.
Allowed variables are:
  id, summary

Example for trac (using moap\'s .doap file):
  $ moap doap bug query -f "%(id)s" owner=thomas
...