The simplest arc program would look like this
Let's break this down to better understand what exactly is going on.
@arc.command()is a Python decorator that transforms a function into an arc command.
def main()is just a simple Python function. The function can also declare parameters.
main()while this make look like we're calling the
mainfunction, because the function has been transformed into a command, we're actualy executing the command.