/SelectFile

Select a file in the terminal using node fs and inquirer

Primary LanguageJavaScript

Require selectFile.js, call passing a directory (or dont, it will start in current working dir) and receive a list of directiories and files. Pressing enter will enter a directory or have the function return the full file name.

NPM package is here: https://www.npmjs.com/package/selectfile