Skip to content

Override default tasks.py module name in invoke.yaml #455

@dmulter

Description

@dmulter

I just migrated my Fabric setup over to Invoke, thanks a lot for the great work.

I've run into one issue that hopefully already has a solution. I'm using Celery across a number of apps and already have a tasks module. I've put my Invoke tasks in a invfile.py module and use the -c invfile option when I run invoke. Unfortunately that is not practical every time I run invoke.

I haven't found it, but is there a way I can specify the default module for invoke tasks in an invoke.yaml file in my app directory? Seems the most natural way to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions