Closed
Description
Using invoke version 0.20.1.
./invoke.yaml
and ~/.invoke.yaml
:
tasks:
auto_dash_names: false
./tasks.py
:
from invoke import task
@task
def my_awesome_task(c):
print("Awesome!")
Per the documenation, I would expect this to work, but it does not:
$ inv my_awesome_task
No idea what 'my_awesome_task' is!
Using dashes in the name does work, though:
$ inv my-awesome-task
Awesome!