Use argument parser default to choose action function in CLI
Description
In the CLI parser, we currently select the action function according to the value of args.action
. This, however, does not pair well with subparser aliases, as this changes the value of args.action
.
Proposal
Use parser defaults to select action functions. For each subparser, set a default func
and call it in the main function.