const yargs = require('yargs')
yargs.command('$0', 'a default command', (yargs) => yargs, () => {
console.log('default command!! why?')
})
yargs.showHelp((output) => {
console.log(output)
})
The above application will also execute the default command even though we never called .argv or .parse. This seems like unexpected behavior to me and I could not find any docs on this. Is this intended for some reason I am unaware of?