I am new to Typer but I cannot really find the info I need in the docs...
I am trying to add flags to my app with typer commands. I would like to have:
myApp command1 --flag1 value1 --flag2 value2
Currently I have a plain command that takes a string:
@app.command(
name="foo",
help="bar",
)
def command1(path: str) -> None: # noqa: D401
"""
Text
Args:
path: my favourite path
"""
# some code here
Is there any way to adjust the function above so that it takes flags+values as in the first box?