Commands\PipelineCommandBase.cs (8)
735if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
738inputType = InputType.Text;
752InputType.Text => await InteractionService.PromptForStringAsync(
758InputType.SecretText => await InteractionService.PromptForStringAsync(
765InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
767InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
769InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),