I'd like to make a generic task, something like
# tasks.py
from invoke import task
@task
def do(context, **kwargs):
print("Kwargs")
print(kwargs)
so I can pass any name and number of arguments to this task
inv do
inv do --image=./path/to/image
inv do --text="Hi"
inv do --image=./path/to/image --text='Hi 2'
inv do --data=./path/to/csv
also options without values if possible
inv do --text="hi" --silent