inquirer-input-autocomplete-path
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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);

Readme

Keywords

none

Package Sidebar

Install

npm i inquirer-input-autocomplete-path

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

11.7 kB

Total Files

5

Last publish

Collaborators

  • anhba817