How to use the reportKafka function from commander
Find comprehensive JavaScript commander.reportKafka code examples handpicked from public code repositorys.
GitHub: entanmo/etm

67 68 69 70 71 72 73 74 75 76
.option('--no-acquireip', "Disable acquire ip feature") .option('--no-checkpriip', "Disable check private ip type") .option("--reportKafka", "Flag - enable to report performance information to kafka") .parse(process.argv); global.reportKafka = program.reportKafka; const options = { program: program, version: packageJson.version
+ 5 other calls in file
commander.Option is the most popular function in commander (1786 examples)