Moab Accounting Manager > Using the gold shell (goldsh) > Usage

Usage

Goldsh commands can be invoked directly from the command line as arguments, or read from stdin (interactively or redirected from a file).

goldsh [--debug] [--site site_name] [--help] [--man] [--format csv|standard] [--quiet] [--verbose] [--version] [command]

Example 18-1: Specifying the command as direct arguments

$ goldsh System Query
 
Name                     Version  Description
-----------------------  -------  ------------------
Moab Accounting Manager    8.0.1.0  Commercial Release

Example 18-2: Using the interactive prompt

$ goldsh
 
gold> System Query
 
Name                    Version Description
----------------------- ------- ------------------
Moab Accounting Manager   8.0.1.0 Commercial Release
gold> quit

Example 18-3: Reading commands from a file

$ cat >commands.gold <<EOF
System Query
quit
EOF
$ goldsh <commands.gold
 
Name                     Version  Description
-----------------------  -------  ------------------
Moab Accounting Manager    8.0.1.0  Commercial Release

Related topics 

© 2014 Adaptive Computing