Create a Task

  1. Within the .angreal folder of a project create a file that starts with task_ and ends with .py.

  2. Define a function.

  3. Apply command decorator


import angreal

@angreal.command(name='task-name', about='text-to-display')
def task_code():
    return