promptit
v1.0.2
Published
Utility prompts user for a value and then prints it
Readme
Prompt it
Simple cli utility reads input value and prints it.
Description

Features:
- no dependencies
- cross-platform
- optional prompt message
- tiny
Getting Started
Install
Npm:
npm i promptit -DYarn:
yarn add promtit -DExecuting
Npm:
npx promptitYarn:
yarn dlx promptitExamples
Message:
promptit Enter last 4 digits of your cart number 1234-XXXX-XXXX-
promptit "Token: " package.json:
Ask a developer for a scheme version before request:
{
"scripts": {
"set-schema": "curl -o schema.json https:/api.corp.com/schema?version=$(promptit 'Version: ')"
},
"devDependencies": {
"promptit": "^1.0.0"
}
}