Skip to content

docs(cli): sweep shortcut subcommand examples after seeded /scm fix - #796

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-789
Sep 25, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-789

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #789

Summary

The scm.yaml seeded by infer init in the CLI resolved subcommands without their own command: by appending the subcommand name to the parent's args, producing invalid gh commands; the CLI fixed the seeded file so each subcommand declares command: gh with the full args. This PR sweeps the standalone docs site for the same shape and for the subcommand resolution rules.

Changes

  • Built-in shortcuts table: /scm issue view 123 example corrected to /scm issue 123, matching the seeded subcommand's documented usage (<number>).
  • SCM (GitHub) Shortcuts section: /scm issues and /scm issue 123 now show the resolved gh issue list --json ... --limit 20 / gh issue view 123 --json ... commands.
  • Custom Shortcuts - "Shortcuts with Subcommands": each subcommand in the dev.yaml example now declares its own command: bash, so the example no longer mirrors the broken seeded YAML shape; the two resolution rules (own command: runs verbatim; without one, the subcommand name and args append to the parent's) are documented in prose.

Validation: bun run lint:md, bun run format:check, bun run build all pass. Docs-only change in the docs repo itself - no docs ticket or downstream tracking needed (this issue is the docs ticket).

The seeded scm.yaml resolves each subcommand that declares its own command to that command with its args verbatim, and one without to the parent command with the subcommand name prepended. Align the docs site: fix the /scm issue example, show the resolved gh issue list / gh issue view commands, and give the subcommands example each subcommand's command plus the resolution rules.
@inference-gateway-releaser

inference-gateway-releaser Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit a896c8d into main Sep 25, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-789 branch September 25, 2026 23:41
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 26, 2026
## [0.9.17](0.9.16...0.9.17) (2026-09-26)

### 📚 Documentation

* add CLI screen recording page ([#774](#774)) ([4fab34a](4fab34a))
* add missing llamacpp and elevenlabs env keys ([#797](#797)) ([2e33a97](2e33a97))
* **adk:** document image input for vision models ([#811](#811)) ([040c269](040c269))
* **adk:** document task retention, deprecate queue cleanup ([#805](#805)) ([a36a69b](a36a69b))
* clarify infer agents add needs a URL ([#814](#814)) ([beee8bd](beee8bd))
* **cli-skills:** document built-in bug skill ([#806](#806)) ([74c6d8e](74c6d8e))
* **cli:** sweep shortcut subcommand examples after seeded /scm fix ([#796](#796)) ([a896c8d](a896c8d))
* correct ADK OIDC env vars for Go and Rust ([#786](#786)) ([e6290de](e6290de))
* correct CLI command and config drift ([#781](#781)) ([7a52596](7a52596))
* correct gateway config, otel and troubleshooting drift ([#782](#782)) ([e80aa96](e80aa96))
* document non-positive MaxAttempts as a single request in Go SDK retry docs ([#795](#795)) ([9e5780d](9e5780d))
* drop removed MCP REST listing and SDK methods ([#783](#783)) ([36b8718](36b8718))
* fix operator CRD drift in operator.md ([#788](#788)) ([270bf6e](270bf6e))
* note SERVER_HOST=0.0.0.0 for containers ([#785](#785)) ([bbda7d0](bbda7d0))
* **operator:** document gateway api crd prerequisite and namespace scoping ([#798](#798)) ([30bf83b](30bf83b))
* **operator:** document gateway service type and annotations as functional ([#799](#799)) ([b8792f3](b8792f3))
* **rust-adk:** drop inert AGENT_* and A2A_CAPABILITIES_* config ([#807](#807)) ([f5a6247](f5a6247))
* **rust-adk:** drop temperature, mark llm settings live ([#809](#809)) ([0767bc8](0767bc8))
* **rust-sdk:** document with_temperature and with_timeout ([#815](#815)) ([921bebb](921bebb))
* **sdks:** note healthCheck() resolves false on non-2xx and network failures ([#800](#800)) ([7760c3a](7760c3a))
* **sdks:** note Python health_check and proxy_request target root-level routes ([#801](#801)) ([ced3f54](ced3f54))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.278 -> 2.1.280 ([#772](#772)) ([dda9302](dda9302))
* **deps:** bump infer CLI v0.205.3 -> v0.208.0 ([#773](#773)) ([f96bf8e](f96bf8e))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.17 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Sweep shortcut subcommand examples after cli PR #1329 fixed seeded /scm

1 participant