Commands\PipelineCommandBase.cs (8)
800if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
803inputType = InputType.Text;
817InputType.Text => await InteractionService.PromptForStringAsync(
823InputType.SecretText => await InteractionService.PromptForStringAsync(
830InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
832InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
834InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),