Attach the cmd action: the one code path for cmd <command...>, the
default command and the parent alias (-c <command...>, routed here when
no explicit subcommand follows it). All three use the merged options bag
(createCli defaults, config scripts), the root hooks' context and
afterResolve scoping, and exit with the child's code.
Attach the cmd action: the one code path for
cmd <command...>, the default command and the parent alias (-c <command...>, routed here when no explicit subcommand follows it). All three use the merged options bag (createCli defaults, configscripts), the root hooks' context andafterResolvescoping, and exit with the child's code.