X Tutup
Skip to content

Experimental command extensions support#3761

Merged
mislav merged 2 commits intotrunkfrom
command-extensions
Jun 3, 2021
Merged

Experimental command extensions support#3761
mislav merged 2 commits intotrunkfrom
command-extensions

Conversation

@mislav
Copy link
Copy Markdown
Contributor

@mislav mislav commented Jun 1, 2021

Extensions are looked up as ~/.config/gh/extensions/gh-*. Additionally, any executables found in PATH named gh-* are available as gh <command>.

This functionality is so far experimental (not meant for production use) and thus marked hidden.

Followup to #1037

Extensions are looked up as `~/.config/gh/extensions/gh-*`.
Additionally, any executables found in PATH named `gh-*` are available
as `gh <command>`.
@mislav mislav force-pushed the command-extensions branch from 7810477 to fce93d6 Compare June 1, 2021 15:15
@vilmibm vilmibm self-requested a review June 2, 2021 16:47
Copy link
Copy Markdown
Contributor

@vilmibm vilmibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems ready for a dark ship 👍

tested out a tiny go extension at https://github.com/vilmibm/gh-echo

This also quits searching for local extensions in PATH.
@mislav mislav enabled auto-merge June 3, 2021 17:10
@mislav mislav merged commit ffebd23 into trunk Jun 3, 2021
@mislav mislav deleted the command-extensions branch June 3, 2021 17:14
ameo4113

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

X Tutup