Commands\PipelineCommandBase.cs (8)
753if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
756inputType = InputType.Text;
770InputType.Text => await InteractionService.PromptForStringAsync(
776InputType.SecretText => await InteractionService.PromptForStringAsync(
783InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
785InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
787InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),