Man Page - obrar - the work horse
NAME
obrar - deployment runbook automation framework
SYNOPSIS
obrar [ [-h] | [-l [str]] [-v] ] ] <TAG> [ <TAG arguments> ]
DESCRIPTION
This script passes arguments to a set of predefined functions to
ensure a repeatable, auditable, consistent run of functions
OPTIONS
-h, --help Show this help and version\n
-l, --list [str] List Tags or list tags matching string\n
-t, --timings [str] Show previous timing for functions in tags\n
-v, --verbose Verbose output\n
-install Create initial directory structure\n
<TAG> <args> The TAG to call. Anything after the TAG
will be treated as an argument to the tag
EXAMPLES
obrar -v DEMO
Will show verbose output from obrar and run functions
defined in the <file_TagDefinition> file by the DEMO tag
obrar DEMO -v
Will run functions defined in the <file_TagDefinition> file and
pass the -v flag as an argument to the DEMO tag
obrar -l
List all TAG definitions from all <file_TagDefinition> files
obrar -l DEM
List all TAG definitions from all <file_TagDefinition> files that
contain the matching string 'DEM' either in tag name, variables or
function list
Example def file
obrar.def is split into four columns
# TAG | reserved | Args | functions
VPN | PI | R:TIME:t: | fn_Test fn_GetIPDetails