maybe you can tranform _command into a _create_command decorator, which takes a function and adds the checks. argTypes can be a parameter for that decorator