for .argument
.argument
you cannot fetch result from program.opts(),
program.opts()
but:
.action(args ⇒ …)
args
ref https://github.com/tj/commander.js/blob/master/examples/argument.js