Skip to main content
Module

x/cliffy/mod.ts>Secret

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Secret
extends GenericInput<string, SecretSettings>
import { Secret } from "https://deno.land/x/cliffy@v0.11.2/mod.ts";

Methods

protected
format(value: string): string
protected
getSuccessMessage(value: string)
protected
setPrompt(message: string)
protected
transform(value: string): string | undefined
protected
validate(value: string): boolean | string

Static Methods

prompt(options: string | SecretOptions): Promise<string>