Table of Contents

Class ShellCommandEntry

Namespace
Glitch9.AIDevKit
[Serializable]
public class ShellCommandEntry : IData
Inheritance
object
ShellCommandEntry

Fields

allowExtraArgs

Whether the user is allowed to provide additional arguments.

public bool allowExtraArgs

Field Value

bool

defaultArgs

Arguments that are always appended when running this command. Optional.

public string[] defaultArgs

Field Value

string[]

description

Human-readable description of the command and its purpose.

public string description

Field Value

string

executable

Executable name or absolute path.

  • Examples: "ls", "ping", "powershell.exe"
public string executable

Field Value

string

key

Unique key for identifying this command in AI or code.

public string key

Field Value

string

osMask

Operating systems on which this command is allowed.

public OSMask osMask

Field Value

OSMask

timeoutMs

Execution timeout in milliseconds.

  • 0 = use default timeout
public int timeoutMs

Field Value

int

Properties

Id

public string Id { get; }

Property Value

string

Name

public string Name { get; }

Property Value

string