Files
Auto-GPT/tests/mocks/mock_commands.py

7 lines
184 B
Python

from autogpt.commands.command import command
@command("function_based", "Function-based test command")
def function_based(arg1: int, arg2: str) -> str:
return f"{arg1} - {arg2}"