UNPKG

@dotenvx/dotenvx-pro

Version:

Secrets Management – Done Right. 🏆

13 lines (11 loc) 269 B
const { ConfirmPrompt } = require('@clack/core') module.exports = (opts) => { return new ConfirmPrompt({ active: 'Y', inactive: 'N', initialValue: true, render () { return `${opts.message} (${this.value ? 'Y/n' : 'y/N'})` } }).prompt() }