how to implement a command line tool using node.js

use `node link` to install and test.

this is a very simple prototype.