I am writing Node cli application which will run locally installed CSSLint module by passing parameters. The CSSLint application is started from function cli which is in cli.js file (https://github.com/CSSLint/csslint/blob/master/dist/cli.js). How can I include this file and call cli function?
What I have tried.
- I have tried adding statement var csslint = require('csslint/dist/cli.js') but this just executes the CSSLint and I am able to pass parameters