Commands\PublishCommandBase.cs (8)
468if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
471inputType = InputType.Text;
485InputType.Text => await _interactionService.PromptForStringAsync(
491InputType.SecretText => await _interactionService.PromptForStringAsync(
498InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
500InputType.Boolean => (await _interactionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
502InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),