Since the interface always needs this information, I recommend setting the command name as a class attribute in the factory. That way, there isn't the chance of forgetting to set this attribute if the factory is used elsewhere.

I'm thinking of something like this in ```HTMLInterface_factory```:

```
def HTMLInterface_factory(command_constructor, usage_examples, inputs, outputs, version, command_name):
    interface_class = general_factory(command_constructor, usage_examples, inputs, outputs, version, HTMLInterface)
    interface_class.CommandName = command_name
    return interface_class
```