Add dependency on optimist package.
CLI accepts a single argument: path to a directory.
Rename the CLI script: remove .js extension.