Commands\PublishCommandBase.cs (8)
564if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
567inputType = InputType.Text;
581InputType.Text => await InteractionService.PromptForStringAsync(
587InputType.SecretText => await InteractionService.PromptForStringAsync(
594InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
596InputType.Boolean => (await InteractionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
598InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),