Skip to content

Experimental command extensions support - #3761

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

mislav merged 2 commits into
trunkfrom
command-extensions

Conversation

@mislav

@mislav mislav commented Jun 1, 2021

Copy link
Copy Markdown
Contributor

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

@vilmibm vilmibm left a comment

Copy link
Copy Markdown
Contributor

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