I think the `resolve` method needs access to the command - the arguments (and specifically the number of arguments) depends on the command.