NAME
ubEnviron – list script environment
SYNOPSIS
ubEnviron –app <application> –dir <directory> {–module <application module>} {–format <tcl|bash default tcl>}
DESCRIPTION
ubEnviron sets up the environment variables required to run a Unibase application.
ubEnviron prints commands to set up the environment which should be processed with eval.
eg eval $(ubenv –application myApp –directory myDir –format bash)
The environment comes from the environ table for the user deflt plus the environ table entries for the current user (or $REMOTE_USER for web applications).
When complete the current working directory will ben the –dir value.
FLAGS
FLAG | ARGUMENT | TYPE | DESCRIPTION |
---|---|---|---|
–app | application name | string | name of the application to run |
–dir | working directory | string | run the application in this directory |
–module | application module | Name of the application modules to run. | Used when a user only has access to a subset of the application. |
–format | output format | can be tcl or bash (default tcl) | command output format suitable for a script language |