Skip to main content

Function: getScriptDirectory()

getScriptDirectory(args?): string

Get the directory where the script is located.

Parameters

args?

string[]

The command line arguments.

Returns

string

The execution directory.