import { run as _run, gopts } from '../../src'; export const run: typeof _run = (...args) => { // either clear all options gopts.clearOptions(); // or remove some options gopts.removeOption('help'); // then add some options. the GlobalOptionsCommand has this helper method to add the global options gopts.add('-v, --version','output the version number',false).conflicts('V'); return _run(...args) }