/
addScriptPath
addScriptPath
Description
Adds a directory to the list of "script directories" that is searched when Shogun builds its internal list of script and pipelines.
By default, this command does not cause the internal list to get rebuilt. To force an immediate rebuild, specify the -reparse
flag.
Functional area
System
Command syntax
Syntax
addScriptPath ScriptPath [-reparse] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
path | string | yes | Path to add to set of search paths. File and directory paths must use forward slashes instead of back-slashes. |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
reparse | 0 | — | — | If option is set the scripts and the pipelines from the directory will be reloaded |
Return value
void
Examples
// Add a new script directory and re-load scripts and pipelines addScriptPath "C:/My Documents/Shogun/MyScripts/" -reparse;
Additional information
Related commands
, multiple selections available,