Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Node.js package for tab path completion on stdin
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
LICENSE.txt
README.md
package.json

README.md

path-complete for Node.js by @tonylukasavage

path-complete is a Node.js package for command line TAB path completion.

Video Demonstration

https://vimeo.com/38800422

Installation

npm install path-complete

Basic Usage

You can run the extremely simple test case by executing node test/test.js or use the code below to do the same.

var pc = require('path-complete');
process.stdout.write('look for path: ');
pc.getPathFromStdin(function(path) {
    console.log('');
    console.log('path: ' + path);
});
Something went wrong with that request. Please try again.