Back to index

enigmail  1.4.3
Public Member Functions | Static Public Attributes
build.manifestparser.UpdateCLI Class Reference
Inheritance diagram for build.manifestparser.UpdateCLI:
Inheritance graph
Collaboration diagram for build.manifestparser.UpdateCLI:
Collaboration graph

List of all members.

Public Member Functions

def __call__
def parser

Static Public Attributes

string usage = '%prog [options] update manifest directory -tag1 -tag2 --key1=value1 --key2=value2 ...'

Detailed Description

update the tests as listed in a manifest from a directory

Definition at line 1049 of file

Member Function Documentation

def build.manifestparser.UpdateCLI.__call__ (   self,

Definition at line 1055 of file

01056     def __call__(self, options, args):
01057         # parse the arguments
01058         try:
01059             kwargs, tags, args = parse_args(args)
01060         except ParserError, e:
01061             self._parser.error(e.message)
01063         # make sure we have some manifests, otherwise it will
01064         # be quite boring
01065         if not len(args) == 2:
01066             HelpCLI(self._parser)(options, ['update'])
01067             return
01069         # read the manifests
01070         # TODO: should probably ensure these exist here
01071         manifests = ManifestParser()
01074         # print the resultant query
01075         manifests.update(args[1], None, *tags, **kwargs)
# command -> class mapping

Here is the call graph for this function:

def build.manifestparser.CLICommand.parser (   self) [inherited]

Reimplemented in build.manifestparser.CreateCLI.

Definition at line 899 of file

00900     def parser(self):
00901       return OptionParser(usage=self.usage, description=self.__doc__,
00902                           add_help_option=False)

Here is the caller graph for this function:

Member Data Documentation

string build.manifestparser.UpdateCLI.usage = '%prog [options] update manifest directory -tag1 -tag2 --key1=value1 --key2=value2 ...' [static]

Reimplemented from build.manifestparser.CLICommand.

Definition at line 1053 of file

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