• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

gharlan/alfred-github-workflow: GitHub Workflow for Alfred 4

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

gharlan/alfred-github-workflow

开源软件地址:

https://github.com/gharlan/alfred-github-workflow

开源编程语言:

PHP 100.0%

开源软件介绍:

GitHub Workflow for Alfred 4

You can search through GitHub (gh) and your GitHub Enterprise instance (ghe).

DOWNLOAD

Workflow Screenshot

Setup

This workflow requires PHP, which is no longer pre-installed since macOS 12 Montery.
You can install it via Homebrew (brew install php).

For github.com

In Alfred type (gh > login) to authenticate against your account. The login uses OAuth, so you do not have to enter your credentials.

For github enterprise

  1. In Alfred type (ghe > url https://github.mycompany.com)
  2. Create a new Personal Access Token (ghe > generate token or https://github.mycompany.com/settings/applications). It only needs access to your repos. Copy this token to your clipboard.
  3. In Alfred type (ghe > login <paste token here>)
  4. You can now ghe your_enterprise_repo_name

Access to private repositories in organizations

Organizations must approve this app, otherwise private repositories of that organization can not be accessed. Access can be requested here.

Key Combinations

Key Combination Action
enter Open entry in default browser
cmd + c Copy URL of the entry
cmd + enter Paste URL to front most app
shift or cmd + y Open URL in QuickLook

Commands

To search through your GitHub Enterprise instance replace gh by ghe.

Repo commands

  • gh user/repo
  • gh user/repo #123
  • gh user/repo @branch
  • gh user/repo *commit
  • gh user/repo /path/to/file
  • gh user/repo admin
  • gh user/repo clone
  • gh user/repo graphs
  • gh user/repo issues
  • gh user/repo milestones
  • gh user/repo network
  • gh user/repo new issue
  • gh user/repo new pull
  • gh user/repo projects
  • gh user/repo pulls
  • gh user/repo pulse
  • gh user/repo releases
  • gh user/repo wiki
  • gh user/repo projects
  • gh user/repo actions

User commands

  • gh @user
  • gh @user overview
  • gh @user repositories
  • gh @user stars
  • gh @user gists

Search commands

  • gh s repo
  • gh s @user

"My" commands

  • gh my dashboard
  • gh my notifications
  • gh my profile
  • gh my issues
  • gh my issues created
  • gh my issues assigned
  • gh my issues mentioned
  • gh my pulls
  • gh my pulls created
  • gh my pulls assigned
  • gh my pulls mentioned
  • gh my pulls review requested
  • gh my repos
  • gh my settings
  • gh my stars
  • gh my gists

Workflow commands

  • gh > login
  • gh > logout
  • gh > delete cache
  • gh > delete database
  • gh > update
  • gh > activate autoupdate
  • gh > deactivate autoupdate
  • gh > help
  • gh > changelog
  • ghe > url (GitHub Enterprise only)
  • ghe > generate token (GitHub Enterprise only)
  • ghe > enterprise reset (GitHub Enterprise only)



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap