OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Data Structures | Functions | Variables
ost.ost_startup Namespace Reference

Data Structures

class  OstOptionParser
 

Functions

def show_help
 
def interactive_flag
 
def stop
 

Variables

string usage
 
tuple action_path = os.path.abspath(os.environ.get("OST_EXEC_DIR", ""))
 
tuple HistoryFile = os.path.expanduser('~/.ost_history')
 
 gui_mode = False
 
tuple home = os.getenv('HOME')
 
tuple _ostrc = os.path.join(home, '.ostrc')
 
list script = parser.rargs[0]
 
 sys_argv_backup = sys.argv
 

Function Documentation

def ost.ost_startup.interactive_flag (   option,
  opt,
  value,
  parser 
)

Definition at line 8 of file ost_startup.py.

def ost.ost_startup.show_help (   option,
  opt,
  value,
  parser 
)

Definition at line 4 of file ost_startup.py.

def ost.ost_startup.stop ( )

Definition at line 11 of file ost_startup.py.

Variable Documentation

tuple _ostrc = os.path.join(home, '.ostrc')

Definition at line 60 of file ost_startup.py.

tuple action_path = os.path.abspath(os.environ.get("OST_EXEC_DIR", ""))

Definition at line 23 of file ost_startup.py.

gui_mode = False

Definition at line 54 of file ost_startup.py.

tuple HistoryFile = os.path.expanduser('~/.ost_history')

Definition at line 51 of file ost_startup.py.

tuple home = os.getenv('HOME')

Definition at line 59 of file ost_startup.py.

list script = parser.rargs[0]

Definition at line 72 of file ost_startup.py.

sys_argv_backup = sys.argv

Definition at line 73 of file ost_startup.py.

string usage
Initial value:
1 = """
2 
3  ost [ost options] [script to execute] [script parameters]
4 
5 or
6  ost [action name] [action options]
7 
8 """

Definition at line 14 of file ost_startup.py.