loader

class invoke.loader.Loader(config=None)

Abstract class defining how to find/import a session’s base Collection.

1.0 新版功能.

class invoke.loader.FilesystemLoader(start=None, **kwargs)

Loads Python files from the filesystem (e.g. tasks.py.)

Searches recursively towards filesystem root from a given start point.

1.0 新版功能.