Commands\PipelineCommandBase.cs (8)
738if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
741inputType = InputType.Text;
755InputType.Text => await InteractionService.PromptForStringAsync(
761InputType.SecretText => await InteractionService.PromptForStringAsync(
768InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
770InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
772InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),