Commands\PublishCommandBase.cs (8)
487if (!Enum.TryParse<InputType>(input.InputType, ignoreCase: true, out var inputType))
490inputType = InputType.Text;
504InputType.Text => await _interactionService.PromptForStringAsync(
510InputType.SecretText => await _interactionService.PromptForStringAsync(
517InputType.Choice => await HandleSelectInputAsync(input, promptText, cancellationToken),
519InputType.Boolean => (await _interactionService.ConfirmAsync(promptText, defaultValue: ParseBooleanValue(input.Value), cancellationToken: cancellationToken)).ToString().ToLowerInvariant(),
521InputType.Number => await HandleNumberInputAsync(input, promptText, cancellationToken),