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.
System
addScriptPath ScriptPath [-reparse] |
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. |
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 |
void
// Add a new script directory and re-load scripts and pipelines addScriptPath "C:/My Documents/Shogun/MyScripts/" -reparse; |