Add fields to disable the command if needed by configuration, blacked.

This commit is contained in:
BillSchumacher
2023-04-16 15:49:36 -05:00
parent df5cc3303f
commit 167628c696
11 changed files with 136 additions and 55 deletions

View File

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