Go to repository

Interface ExecutableScriptDefinition

Models an executable file path and characteristics.

interface ExecutableScriptDefinition {
    binName: string;
    command: string;
    mode: ScriptType;
    packageName: string;
    scriptFile: string;
}

Properties

binName: string

The binary name of this executable.

command: string

The command to execute in the terminal

The mode on which such binary file should run. It may be a full JS file to be executed by node, a Shell script supported by any POSIX file, of a Windows "PowerShell" script or "cmd" script.

packageName: string

The node package name this executable belongs to.

scriptFile: string

The script file that should be executed.