# Path: cardinal/decorators.py
# def command(triggers):
#     if isinstance(triggers, str):
#         triggers = [triggers]
# 
#     if not isinstance(triggers, list):
#         raise TypeError("Command must be a trigger string or list of triggers")
# 
#     def wrap(f):
#         f.commands = triggers
#         return f
# 
#     return wrap


from cardinal.decorators import command


class TestCommandRaisesExceptionPlugin:
    def __init__(self):
        self.command_calls = []

    @command('command')

# Path: cardinal/decorators.py
# def command(triggers):
#     if isinstance(triggers, str):
#         triggers = [triggers]
# 
#     if not isinstance(triggers, list):
#         raise TypeError("Command must be a trigger string or list of triggers")
# 
#     def wrap(f):
#         f.commands = triggers
#         return f
# 
#     return wrap


# Path: cardinal/fixtures/fake_plugins/command_raises_exception/plugin.py
from cardinal.decorators import command



class TestCommandRaisesExceptionPlugin:
    def __init__(self):
        self.command_calls = []

    @command('command')

    def command(self, *args):