Skip to main content
Module

x/cliffy/examples/prompt/secret_hidden.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
File
#!/usr/bin/env -S deno run --unstable
import { Secret } from "../../prompt/secret.ts";
const password: string = await Secret.prompt({ message: "Enter your password", hidden: true,});
console.log({ password });