Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .prototools
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dprint = "0.54.0"
flux = "2.8.8"
flux-operator-mcp = "0.52.0"
golangci-lint = "2.12.2"
grpcurl = "1.9.3"
kubeconform = "0.8.0"
prek = "0.4.5"
rumdl = "0.2.14"
Expand Down Expand Up @@ -38,6 +39,7 @@ dprint = "file://./dprint/plugin.toml"
flux = "file://./flux/plugin.toml"
flux-operator-mcp = "file://./flux-operator-mcp/plugin.toml"
golangci-lint = "file://./golangci-lint/plugin.toml"
grpcurl = "file://./grpcurl/plugin.toml"
kubeconform = "file://./kubeconform/plugin.toml"
prek = "file://./prek/plugin.toml"
rumdl = "file://./rumdl/plugin.toml"
Expand Down
13 changes: 13 additions & 0 deletions grpcurl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# grpcurl plugin

[grpcurl](https://github.com/fullstorydev/grpcurl) plugin for [proto](https://github.com/moonrepo/proto).

## Installation

grpcurl is not built into proto, so register this plugin, pin a version, then install:

```shell
proto plugin add grpcurl "https://raw.githubusercontent.com/Genesis-Embodied-AI/proto-plugins/main/grpcurl/plugin.toml"
proto pin grpcurl latest --resolve
proto install grpcurl
```
29 changes: 29 additions & 0 deletions grpcurl/plugin.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = "grpcurl"
type = "cli"

[resolve]
git-url = "https://github.com/fullstorydev/grpcurl"

# Release assets use aarch64/arm64 naming on macOS; Linux x86_64 matches proto's default.
[install.arch]
aarch64 = "arm64"
x86_64 = "x86_64"

[platform.linux]
download-file = "grpcurl_{version}_linux_{arch}.tar.gz"
checksum-file = "grpcurl_{version}_checksums.txt"
exe-path = "grpcurl"

[platform.macos]
download-file = "grpcurl_{version}_osx_{arch}.tar.gz"
checksum-file = "grpcurl_{version}_checksums.txt"
exe-path = "grpcurl"

[platform.windows]
download-file = "grpcurl_{version}_windows_x86_64.zip"
checksum-file = "grpcurl_{version}_checksums.txt"
exe-path = "grpcurl.exe"

[install]
download-url = "https://github.com/fullstorydev/grpcurl/releases/download/v{version}/{download_file}"
checksum-url = "https://github.com/fullstorydev/grpcurl/releases/download/v{version}/{checksum_file}"