workflow¶
- class afwf.alfred.workflow.AlfredWorkflow(dir_workflow: Path)[source]¶
Represents a single Alfred Workflow directory.
The directory is typically located at:
<Alfred.alfredpreferences>/workflows/user.workflow.<UUID>/
and is expected to contain:
info.plist— workflow definition (name, version, bundle id, …)icon.png— workflow iconmain.py— Python entry point (for afwf-based workflows)lib/— installed Python dependencies
All attributes are lazily evaluated and cached on first access.
- Parameters:
dir_workflow – Path to the workflow folder, e.g.
…/workflows/user.workflow.76458317-….