Skip to content

InteractiveOptions

Interactive session configuration.

public sealed class InteractiveOptions

Initializes a new instance of the InteractiveOptions class.

public InteractiveOptions()

Gets interactive autocomplete options.

public AutocompleteOptions Autocomplete { get; }

AutocompleteOptions

Gets or sets an optional history provider for pluggable persistence. When set, this provider is used instead of the default in-memory implementation.

public IHistoryProvider? HistoryProvider { get; set; }

IHistoryProvider

Gets or sets the interactive policy.

public InteractivePolicy InteractivePolicy { get; set; }

InteractivePolicy

Gets or sets the prompt text.

public string Prompt { get; set; }

string