Scaffold - Command line options

Home

scaffold is a command-line utility. To invoke it, use following general form:

scaffold [options] [files]

List of options:

--help
prints usage information and exists the program; any other option or file that is provided is ignored;
--version
prints version information and exists the program; any other option or file that is provided is ignored;
-vVarName=value --variable="VarName=value"
creates a variable in global context an, optionally, assigns a value. Spaces may be embedded inside values using the \s special marker. The form -vVarName or --variable="VarName" assigns the value True to the variable.
--savevar="VarName=value"
Same as --variable, except that the value is also saved for future reference. On subsequent runs the value will be defined in the environment. The program first loads saved variables (using this option) then loads variables defined using --variable, thus allowing to override saved values on selected runs.
The variables saved in this way are global to all instances of the program.
--delvar="VarName"
Deletes a previously saved variable with --savevar. Use the --delvar form (without parameter) to delete all variables. No error or warning is thrown if the variable is not found.

Files are searched relative to current directory. One or more files may be provided and scaffold will execute them in order. The commands in the files are executed line by line, according to the rules for RexScript files and custom rules defined by the program.

Related source code documentation:

Home