Skip to content

ReplDocCommand

Command metadata.

public sealed record ReplDocCommand : IEquatable<ReplDocCommand>
  • IEquatable<ReplDocCommand>

ReplDocCommand(string, string?, IReadOnlyList<string>, bool, IReadOnlyList<ReplDocArgument>, IReadOnlyList<ReplDocOption>, string?, CommandAnnotations?, IReadOnlyDictionary<string, object>?, IReadOnlyList<ReplDocAnswer>?, bool, bool, bool, bool)

Section titled “ReplDocCommand(string, string?, IReadOnlyList<string>, bool, IReadOnlyList<ReplDocArgument>, IReadOnlyList<ReplDocOption>, string?, CommandAnnotations?, IReadOnlyDictionary<string, object>?, IReadOnlyList<ReplDocAnswer>?, bool, bool, bool, bool)”

Command metadata.

public ReplDocCommand(string Path, string? Description, IReadOnlyList<string> Aliases, bool IsHidden, IReadOnlyList<ReplDocArgument> Arguments, IReadOnlyList<ReplDocOption> Options, string? Details = null, CommandAnnotations? Annotations = null, IReadOnlyDictionary<string, object>? Metadata = null, IReadOnlyList<ReplDocAnswer>? Answers = null, bool IsResource = false, bool IsPrompt = false, bool AcceptsPagingInput = false, bool EmitsPagedResult = false)
  • Path (string)
  • Description (string)
  • Aliases (IReadOnlyList<string>)
  • IsHidden (bool)
  • Arguments (IReadOnlyList<ReplDocArgument>)
  • Options (IReadOnlyList<ReplDocOption>)
  • Details (string)
  • Annotations (CommandAnnotations)
  • Metadata (IReadOnlyDictionary<string, object>)
  • Answers (IReadOnlyList<ReplDocAnswer>)
  • IsResource (bool)
  • IsPrompt (bool)
  • AcceptsPagingInput (bool)
  • EmitsPagedResult (bool)
public bool AcceptsPagingInput { get; init; }

bool

public IReadOnlyList<string> Aliases { get; init; }

IReadOnlyList<string>

public CommandAnnotations? Annotations { get; init; }

CommandAnnotations

public IReadOnlyList<ReplDocAnswer>? Answers { get; init; }

IReadOnlyList<ReplDocAnswer>

public IReadOnlyList<ReplDocArgument> Arguments { get; init; }

IReadOnlyList<ReplDocArgument>

public string? Description { get; init; }

string

public string? Details { get; init; }

string

public bool EmitsPagedResult { get; init; }

bool

public bool IsHidden { get; init; }

bool

public bool IsPrompt { get; init; }

bool

public bool IsResource { get; init; }

bool

public IReadOnlyDictionary<string, object>? Metadata { get; init; }

IReadOnlyDictionary<string, object>

public IReadOnlyList<ReplDocOption> Options { get; init; }

IReadOnlyList<ReplDocOption>

public string Path { get; init; }

string