Easily create new projects with GitHub source-control or open existing projects in Visual Studio Code with this Alfred 5 workflow.
- newproject: creates a new project in your project directory or a subdirectory, automatically initializes a matching GitHub repository and opens the project in Visual Studio Code.
- openproject: opens an existing project from your project directory or subdirectory in Visual Studio Code.
- Visual Studio Code (including the "code" shell command)
- Node.js
- git
- A GitHub Api token (how to obtain: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#about-personal-access-tokens)
Run this command in your shell to automatically install the workflow:
npm install --global alfred-vscode-github
- Download the workflow file.
- Double-click the downloaded file to install the workflow.
- Generate GitHub authentication token.
- Simply copy and paste this token into the user configuration.
- Select your project directory in the user configuration.