Skip to content

Ship the tool as package id gh, invoked as dotnet gh - #3

Merged
kzu merged 1 commit into
mainfrom
dev/rename-to-ngh
Aug 25, 2026
Merged

Ship the tool as package id gh, invoked as dotnet gh#3
kzu merged 1 commit into
mainfrom
dev/rename-to-ngh

Conversation

@kzu

@kzu kzu commented Aug 25, 2026

Copy link
Copy Markdown
Member

dnx/ndnx gh uses the NuGet package id. An installed tool is dotnet gh (ToolCommandName dotnet-gh) so it does not replace GitHub's native gh on PATH.

What changed

  • Tool PackageId is gh; command is dotnet-gh (dotnet gh after dotnet tool install gh)
  • Project moved from src/ghx to src/gh
  • Repo and solution stay ghx (devlooped/ghx, ghx.slnx)
  • Workflows pack and assert gh nupkgs; unix execute bits stamp dotnet-gh and payload gh

GitHub.Cli (pointer, RID payloads, GitHub.Cli.ResolvePath) is unchanged.

@kzu

kzu commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

17 passed 17 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.11 with 💜 by @devlooped

dnx/ndnx gh uses the NuGet package id. ToolCommandName is dotnet-gh so a
locally or globally installed tool is `dotnet gh` and does not replace
GitHub's native `gh` on PATH.

The tool project lives at src/gh. The repo and solution stay ghx.
GitHub.Cli (pointer, RID payloads, GitHub.Cli.ResolvePath) is unchanged.
@kzu
kzu force-pushed the dev/rename-to-ngh branch from 167961b to 8dcbf7d Compare August 25, 2026 16:56
@kzu kzu changed the title Rename the tool and repo from ghx to ngh Ship the tool as package id gh, invoked as dotnet gh Aug 25, 2026
@kzu
kzu merged commit 4a1a62b into main Aug 25, 2026
3 checks passed
@kzu
kzu deleted the dev/rename-to-ngh branch August 25, 2026 16:58
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.

1 participant