@kenzic/quick-cli-prompt
v1.0.1
Published
## Introduction
Downloads
8
Readme
Quick CLI Prompt
Introduction
Stupid simple CLI prompt for JavaScript. Helpful when prototyping or creating simple CLI tools.
Installation
npm install @kenzic/quick-cli-prompt
Usage
import quickCLIPrompt from '@kenzic/quick-cli-prompt';
quickCLIPrompt(async (input) => {
const output = await doSomethingWithInput(input);
console.log(output);
});