import { GenericPrompt } from "https://deno.land/x/cliffy@v0.25.5/mod.ts";
Module
x/cliffy/mod.ts>GenericPrompt#transform
Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
ansicommandexamplesflagskeycodekeypressprompttableTypeActionListTypeBooleanTypeCellCheckboxChildCommandTypeCommandCommandTypeCompletionsCommandConfirmDenoLandProviderEnumTypeFileTypeGenericInputGenericListGenericPromptGithubProviderHelpCommandInputIntegerTypeListNestLandProviderNumberNumberTypeProviderRowSecretSelectStringTypeTableToggleUpgradeCommandValidationErrorAnsiChainArgumentArgumentOptionsArgumentValueChainCheckboxKeysCheckboxOptionCheckboxOptionsCheckboxOptionSettingsCommandResultCompleteOptionsCompletionConfirmOptionsCursorCursorPositionOptionsDenoLandProviderOptionsEnvVarEnvVarOptionsExampleFlagOptionsGenericInputKeysGenericInputPromptOptionsGenericInputPromptSettingsGenericListKeysGenericListOptionGenericListOptionsGenericListOptionSettingsGenericListSettingsGenericPromptKeysGenericPromptOptionsGenericPromptSettingsGithubProviderOptionsGithubVersionsGlobalEnvVarOptionsGlobalOptionOptionsGlobalPromptOptionsICellOptionsImageOptionsInputOptionsIRowOptionsITableOptionsITableSettingsKeyCodeListOptionsNestLandProviderOptionsNumberKeysNumberOptionsOptionOptionOptionsParseFlagsContextParseFlagsOptionsSecretOptionsSelectOptionsSelectSettingsStaticGenericPromptToggleKeysToggleOptionsTtyChainTtyOptionsTypeDefTypeOptionsUpgradeCommandOptionsUpgradeOptionsValidationErrorOptionsVersionsActionHandlerAnsiAnsiFactoryCheckboxValueOptionsCheckboxValueSettingsColorsColorsChainColorsFactoryCompleteHandlerCompleteHandlerResultConfirmKeysDefaultValueDescriptionDescriptionHandlerDirectionEnvVarValueHandlerErrorHandlerGenericListValueOptionsGenericListValueSettingsHelpHandlerIActionIArgumentIBorderOptionsICellICommandGlobalOptionICommandOptionICompleteHandlerICompleteOptionsICompletionIDataRowIDescriptionIEnvVarIEnvVarOptionsIEnvVarValueHandlerIExampleIFlagValueHandlerIGlobalEnvVarOptionsIHelpHandlerInputKeysIOptionIParseResultIRowITableITypeITypeOptionsIVersionHandlerListKeysMapTypesOptionValueHandlerSecretKeysSelectKeysSelectOptionSelectOptionSettingsSelectValueOptionsSelectValueSettingsTtyTtyFactoryTypeHandlerTypeOrTypeHandlerTypeValueValidateResultValueHandlerValuesHandlerResultVersionHandleransibelbooleanclearScreenclearTerminalcolorscursorHidecursorLeftcursorPositioncursorRestorecursorSavecursorShoweraseLineeraseLineEnderaseLineStarteraseScreenFiguresKeyMapKeyMapCtrlKeyMapShiftnumberSpecialKeyMapstringttycursorBackwardcursorDowncursorForwardcursorMovecursorNextLinecursorPrevLinecursorTocursorUperaseDowneraseLineseraseUpgetCursorPositiongetFiguresByKeysimageinjectlinkparseparseFlagspromptscrollDownscrollUpOptionType
mod.ts (default module)
N
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
E