Searched refs:isSubcommand (Results 1 – 1 of 1) sorted by relevance
71 const isSubcommand = Boolean(commands[args._[0]]); constant74 if (!isSubcommand && args['--help']) {119 if (!isSubcommand) {182 const command = isSubcommand ? args._[0] : defaultCmd;183 const commandArgs = isSubcommand ? args._.slice(1) : args._;