Package ternate :: Module cli :: Class Ternate
[hide private]
[frames] | no frames]

Class Ternate

source code

object --+
         |
        Ternate

`Ternate` class

Instance Methods [hide private]
 
__init__(self)
Initialize attributes, set logger
source code
 
set_log_level(self)
Set log level according to command-line options
source code
int
run(self)
Run ternate command specified on command-line
source code
opt_parser.OptionParser
setup_opt_parser(self)
Setup the optparser
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialize attributes, set logger

Overrides: object.__init__

run(self)

source code 

Run ternate command specified on command-line

Returns: int
0 success or 1 failure

setup_opt_parser(self)

source code 

Setup the optparser

Returns: opt_parser.OptionParser
Option parser