Skip to content
ConsoleMonster
Class

DemoOptions

ConsoleMonster.Demos

Namespace
ConsoleMonster.Demos
Assembly
ConsoleMonster
Modifiers
sealed

Settings for scripted or stage-driven PowerShell demos.

Inheritance

  • object
  • DemoOptions

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 2

Constructors

public DemoOptions() #

Properties

public SessionRecordingOptions Recording { get; set; } #

PTY, output path, dimensions, environment, redaction and idle limit. Shell defaults to pwsh.

public int Seed { get; set; } #

Seed for repeatable typing jitter.

public double Jitter { get; set; } #

Fractional variation around each character delay, from zero to one.

public TimeSpan StepTimeout { get; set; } #

Maximum time to wait for a semantic prompt or output match.

public Action<string>? Output { get; set; } #

Live output callback. Called on the PTY reader thread; use a thread-safe relay from PowerShell.