Package conary :: Module cvc :: Class NewPkgCommand
[hide private]
[frames] | no frames]

Class NewPkgCommand

source code

                 object --+            
                          |            
lib.command.AbstractCommand --+        
                              |        
          command.ConaryCommand --+    
                                  |    
                         CvcCommand --+
                                      |
                                     NewPkgCommand

Instance Methods [hide private]
 
addParameters(self, argDef) source code
 
runCommand(self, cfg, argSet, args, profile=False, callback=None, repos=None) source code

Inherited from CvcCommand: addConfigOptions

Inherited from command.ConaryCommand: processConfigOptions, setContext

Inherited from lib.command.AbstractCommand: __init__, addDocs, prepare, requireParameters, setMainHandler, setParser, usage

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  commands = ['newpkg']
  paramHelp = '<name>'
  help = 'Set a directory for creating a new package'
  commandGroup = 'Setup Commands'
  docs = {'dir': 'create new package in DIR', 'factory': 'recipe...

Inherited from lib.command.AbstractCommand: defaultGroup, description, hidden, hobbleShortOpts

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

addParameters(self, argDef)

source code 
Overrides: command.ConaryCommand.addParameters

runCommand(self, cfg, argSet, args, profile=False, callback=None, repos=None)

source code 
Overrides: lib.command.AbstractCommand.runCommand

Class Variable Details [hide private]

docs

Value:
{'dir': 'create new package in DIR',
 'factory': 'recipe factory to load',
 'template': 'set recipe template to use'}