Package iceprod :: Package client :: Module commands :: Class set
[hide private]
[frames] | no frames]

Class set

source code

object --+    
         |    
   Command --+
             |
            set

Command: set <variable> <value> [<variable> <value>]

Set local variable(s) in iceprodsh.
Can set multiple variables at once.

Arguments:
  <variable>  The variable to set
              (username, url, production, test, editor)
  <value>     The value to set the variable to
  
Returns:
  Echo variables and new values out to shell.
  Print error on unknown variable.

Instance Methods [hide private]
 
Execute(self, shell) source code
 
CheckArgs(self, args) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  numArgs = 2
  shortdoc = 'set <variable> <value> : Set a local variable'
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

Execute(self, shell)

source code 
Overrides: Command.Execute

CheckArgs(self, args)

source code 
Overrides: Command.CheckArgs