1.0.1 • Published 1 year ago
inquirer-input-autocomplete-path v1.0.1
inquirer-input-autocomplete-path
Input prompt that support auto complete file path when user press Tab
Installation
npm install inquirer-input-autocomplete-path
yarn add inquirer-input-autocomplete-path
Usage
import fileInput from 'inquirer-input-autocomplete-path';
const answer = await input({
message: "Enter your home directory",
default: "/home/test/",
directoryOnly: true,
});
console.log("Answer:", answer);