finalizeCommand

Finalize a command invocation, converting and setting the values for all options and other parameters. This function does not finalizeEagerOptions or run the command.

Throws

If the invocation had any errors or if any parameters fail to finalize, such as if a required option is missing or a value could not be converted.