@inference-gateway/cli 0.135.0 → 0.136.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -126,8 +126,8 @@ infer --help
|
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
> **Not recommended for production.** For production or CI, prefer the
|
|
129
|
-
> [install script](#using-install-script), [
|
|
130
|
-
> [building from source](#build-from-source). Prebuilt binaries cover Linux, macOS, and Windows on
|
|
129
|
+
> [install script](#using-install-script), [Nix flake](#using-nix-flake--flox),
|
|
130
|
+
> [container image](#using-container-image), or [building from source](#build-from-source). Prebuilt binaries cover Linux, macOS, and Windows on
|
|
131
131
|
> amd64/arm64.
|
|
132
132
|
|
|
133
133
|
### Using Go Install
|
|
@@ -148,6 +148,32 @@ Or use an alias:
|
|
|
148
148
|
alias infer="$(go env GOPATH)/bin/cli"
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
+
### Using Nix Flake / Flox
|
|
152
|
+
|
|
153
|
+
With Nix (flakes enabled), run directly without installing:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
nix run github:inference-gateway/cli
|
|
157
|
+
|
|
158
|
+
# Pin a specific release
|
|
159
|
+
nix run github:inference-gateway/cli/v0.135.0
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
Or install into your profile:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
nix profile install github:inference-gateway/cli
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
With [Flox](https://flox.dev), pin it in your environment manifest (`.flox/env/manifest.toml`):
|
|
169
|
+
|
|
170
|
+
```toml
|
|
171
|
+
[install]
|
|
172
|
+
infer.flake = "github:inference-gateway/cli"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
Then `flox activate` makes `infer` available in the environment. Pin a release by appending the tag: `github:inference-gateway/cli/v0.135.0`.
|
|
176
|
+
|
|
151
177
|
### Using Container Image
|
|
152
178
|
|
|
153
179
|
```bash
|
|
@@ -209,8 +235,8 @@ Available binaries:
|
|
|
209
235
|
| Linux arm64 | `infer-linux-arm64` |
|
|
210
236
|
| macOS amd64 (Intel) | `infer-darwin-amd64` |
|
|
211
237
|
| macOS arm64 (Apple Silicon) | `infer-darwin-arm64` |
|
|
212
|
-
| Windows amd64 | `infer-windows-amd64.exe` |
|
|
213
|
-
| Windows arm64 | `infer-windows-arm64.exe` |
|
|
238
|
+
| Windows amd64 | `infer-windows-amd64` (rename to `infer.exe`) |
|
|
239
|
+
| Windows arm64 | `infer-windows-arm64` (rename to `infer.exe`) |
|
|
214
240
|
|
|
215
241
|
**Verify the binary** (recommended for security):
|
|
216
242
|
|
|
@@ -1095,7 +1121,9 @@ actions.
|
|
|
1095
1121
|
**Project setup:**
|
|
1096
1122
|
|
|
1097
1123
|
- `/init` - Generate an `AGENTS.md` by analyzing the project
|
|
1098
|
-
- `/init-github-action` - Set up a GitHub Action via an interactive wizard
|
|
1124
|
+
- `/init-github-action` - Set up a GitHub Action via an interactive wizard. Generates `.github/workflows/infer.yml`
|
|
1125
|
+
pinned to the latest `infer-action` (issue/comment-triggered plus a manual `workflow_dispatch` mode, 15-minute job
|
|
1126
|
+
timeout); pre-scans common locations for your GitHub App `.pem` key so selecting it is instant
|
|
1099
1127
|
|
|
1100
1128
|
**Git Shortcuts** (created by `infer init`):
|
|
1101
1129
|
|