Cmdlet: GetPredictiveText

class PoshPredictiveText.GetPredictiveText : PSCmdlet

The Posh Predictive Text cmdlet provides suggested completions for command arguments in PowerShell.

Properties

string? WordToComplete { get; set; }

Gets or sets the partial word provided before the user pressed Tab.

CommandAst? CommandAst { get; set; }

Gets or sets the Abstract Syntax Tree (AST) for the current input line.

int? CursorPosition { get; set; }

Gets or sets the position of the cursor when tab was pressed.