Cli.prompt()

Simple prompt

See https://github.com/wi2/machinepack-cli/blob/master/README.md

Usage

Hover over inputs/exits for more info.

var Cli = require('machinepack-cli');


// Simple prompt

Cli.prompt({

debug: true,

}).execSync();

Inputs

debug

debug mode

true

Exits

error

An unexpected error occurred.

success

OK.