Within the .angreal
folder of a project create a file that starts with task_
and ends with .py
.
Define a function.
Apply command
decorator.
import angreal
@angreal.command(name='command-name', about='text-to-display')
def command_function():
return