feature: Add cli support
tweaked name of path variable and removed preferGlobal
Updated README and package.json