Files
Auto-GPT/auto_gpt/tests/mocks/mock_commands.py
2023-04-06 19:25:44 -07:00

7 lines
186 B
Python

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