Commit graph

11 commits

Author SHA1 Message Date
Mislav Marohnić
882f6d33cb Merge remote-tracking branch 'origin' into extensions-remove-notice 2021-07-16 15:12:56 +02:00
Mislav Marohnić
d68df4a9d8 Do not output error messages for nontty 2021-07-16 15:10:36 +02:00
Mislav Marohnić
d6b0749ea2 Tweak error messages and add more tests for extension install name check 2021-07-16 14:52:05 +02:00
Sam Coe
16d218508d
Fix tests 2021-07-02 13:53:26 -07:00
Sam Coe
0482e5cd9b
Disallow installing extensions with the same name 2021-07-02 13:50:15 -07:00
Sam Coe
103e18cab5
Disallow installing extensions with same name as gh command 2021-07-01 13:45:29 -07:00
Sam Coe
86f2df1f49
Add confirmation to extensions remove 2021-07-01 10:43:41 -07:00
Mislav Marohnić
42efc3f25a Fix test cleanup on Windows 2021-06-21 17:22:17 +02:00
Mislav Marohnić
1ec47d8191 Improvements to gh extensions
- Extensions on Windows now enabled through the `sh.exe` interpreter
- `sh.exe` now found on Windows when git was installed via scoop
- `gh extensions list` command shows origin repo for the extension
- `gh extensions upgrade --all` is required to upgrade all extensions
- Added `gh extensions remove`
- Shell completions now include aliases and extension names
- `gh` help output now lists available extension names
- Extensions are stored to XDG_DATA_HOME
2021-06-21 16:54:08 +02:00
Mislav Marohnić
4bdddd72d3 Allow installing local extensions via symlinks
This also quits searching for local extensions in PATH.
2021-06-03 19:06:28 +02:00
Mislav Marohnić
fce93d6080 Experimental command extensions support
Extensions are looked up as `~/.config/gh/extensions/gh-*`.
Additionally, any executables found in PATH named `gh-*` are available
as `gh <command>`.
2021-06-01 17:15:20 +02:00