Search Results for

    Show / Hide Table of Contents

    Class ShellCommand

    Inheritance
    object
    ShellCommand
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public class ShellCommand

    Properties

    | Edit this page View Source

    Command

    The command to run.

    Declaration
    [JsonProperty("command")]
    public List<string> Command { get; set; }
    Property Value
    Type Description
    List<string>
    | Edit this page View Source

    Env

    Environment variables to set for the command.

    Declaration
    [JsonProperty("env")]
    public Dictionary<string, string> Env { get; set; }
    Property Value
    Type Description
    Dictionary<string, string>
    | Edit this page View Source

    TimeoutMs

    Optional timeout in milliseconds for the command.

    Declaration
    [JsonProperty("timeout_ms")]
    public int? TimeoutMs { get; set; }
    Property Value
    Type Description
    int?
    | Edit this page View Source

    Type

    The type of the local shell action. Always exec.

    Declaration
    [JsonProperty("type")]
    public string Type { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    User

    Optional user to run the command as.

    Declaration
    [JsonProperty("user")]
    public string User { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    WorkingDirectory

    Optional working directory to run the command in.

    Declaration
    [JsonProperty("working_directory")]
    public string WorkingDirectory { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation