Commands\PipelineCommandBase.cs (8)
743if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
746inputType = InputType.Text;
760InputType.Text => await InteractionService.PromptForStringAsync(
766InputType.SecretText => await InteractionService.PromptForStringAsync(
773InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
775InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
777InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),