OpenStructure
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
ost.ost_startup Namespace Reference

Data Structures

class  OstOptionParser
 

Functions

 show_help (option, opt, value, parser)
 
 show_version (option, opt, value, parser)
 
 interactive_flag (option, opt, value, parser)
 
 stop ()
 
 get_options_parser (usage)
 

Variables

str usage
 
 action_path = os.path.abspath(os.environ.get("OST_EXEC_DIR", ""))
 
str _site_packs = "python%d.%d/site-packages" % sys.version_info[0:2]
 
 _base_dir = os.getenv("DNG_ROOT")
 
 parser = get_options_parser(usage)
 
 options
 
 args
 
 HistoryFile = os.path.expanduser("~/.ost_history")
 
bool gui_mode = False
 
 ps1
 
 ps2
 
 argv
 
 home = os.getenv("HOME") or os.getenv("USERPROFILE")
 
 _ostrc = os.path.join(home, ".ostrc")
 
 script = parser.rargs[0]
 
 sys_argv_backup = sys.argv
 

Function Documentation

◆ get_options_parser()

get_options_parser (   usage)

Definition at line 23 of file ost_startup.py.

◆ interactive_flag()

interactive_flag (   option,
  opt,
  value,
  parser 
)

Definition at line 15 of file ost_startup.py.

◆ show_help()

show_help (   option,
  opt,
  value,
  parser 
)

Definition at line 5 of file ost_startup.py.

◆ show_version()

show_version (   option,
  opt,
  value,
  parser 
)

Definition at line 10 of file ost_startup.py.

◆ stop()

stop ( )

Definition at line 19 of file ost_startup.py.

Variable Documentation

◆ _base_dir

_base_dir = os.getenv("DNG_ROOT")
protected

Definition at line 83 of file ost_startup.py.

◆ _ostrc

_ostrc = os.path.join(home, ".ostrc")
protected

Definition at line 101 of file ost_startup.py.

◆ _site_packs

str _site_packs = "python%d.%d/site-packages" % sys.version_info[0:2]
protected

Definition at line 82 of file ost_startup.py.

◆ action_path

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

Definition at line 66 of file ost_startup.py.

◆ args

args

Definition at line 90 of file ost_startup.py.

◆ argv

argv

Definition at line 99 of file ost_startup.py.

◆ gui_mode

bool gui_mode = False

Definition at line 95 of file ost_startup.py.

◆ HistoryFile

HistoryFile = os.path.expanduser("~/.ost_history")

Definition at line 92 of file ost_startup.py.

◆ home

home = os.getenv("HOME") or os.getenv("USERPROFILE")

Definition at line 100 of file ost_startup.py.

◆ options

options

Definition at line 90 of file ost_startup.py.

◆ parser

Definition at line 89 of file ost_startup.py.

◆ ps1

ps1

Definition at line 97 of file ost_startup.py.

◆ ps2

ps2

Definition at line 98 of file ost_startup.py.

◆ script

script = parser.rargs[0]

Definition at line 114 of file ost_startup.py.

◆ sys_argv_backup

sys_argv_backup = sys.argv

Definition at line 115 of file ost_startup.py.

◆ usage

str usage
Initial value:
1= """
2 ost [ost options] [script to execute] [script parameters]
3 ost [action name] [action options]
4
5The following actions are available:
6"""

Definition at line 59 of file ost_startup.py.