- Created by bjrnt
- π Last Updated: 24/11/21 23:24:51
- π Stars on GitHub: 10
- Love this? Consider supporting the creator by Starring or Sponsoring this on GitHub!
- Get Workflow
- Get Latest Release
- Get Source Code
From their README
alfred-project-manager
Allows you to quickly open projects from Alfred.
Installation
- Grab the latest release here and install the workflow file.
- Set the
PROJECT_DIRECTORY
path inside the workflow's environment variables (select the workflow and press the[x]
icon in the upper right). A relative path is assumed to be relative to your home directory.
Usage
Open Alfred and type pm
to access the project manager and try typing a query. You can also configure a hotkey for it by opening the workflow in Alfred's workflow options panel.
Modifiers
none
(default): open in editor (default: VSCode)alt/opt
: reveal in Findercmd
: open in terminal (default: iTerm)ctrl
: open the project's repo in your browser
You can change the modifier and application combinations in Alfred's workflow settings window.
Further Config
Show Only Git Repos
If you only want the workflow to show valid Git repos, you can set the REQUIRE_DOTGIT
to true
in the workflow's environment variables.
Workspaced Projects
You can configure the workflow MAX_PROJECT_DEPTH
to an integer larger than zero if you have nested or workspaced projects. For example, if you have different folders for different companies or clients where you have your projects, you would set this to 1.
It is recommended you combine this option with only showing git repos to avoid false positives.
Maintenance
Issues and Feature Requests
Feel free to open an issue for the project if you have encountered a problem or have a feature request for the workflow.
Building
The project can be built, linked to Alfred, and released using jason0x34/go-alfred. Commands for this can be found in ./.vscode/tasks.json.