How to use the reportKafka function from commander

Find comprehensive JavaScript commander.reportKafka code examples handpicked from public code repositorys.

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
fork icon60
star icon18
watch icon9

+ 5 other calls in file

Other functions in commander

Sorted by popularity

function icon

commander.Option is the most popular function in commander (1786 examples)