Skip to content

feat: expose ovhcloud in the standalone CLI - #143

Open
smini-digital wants to merge 1 commit into
mainfrom
claude/cli-ovhcloud-entry
Open

smini-digital wants to merge 1 commit into
mainfrom
claude/cli-ovhcloud-entry

Conversation

@smini-digital

@smini-digital smini-digital commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

ovhcloud was added in #103 to the four library pieces (installer, lib/installers/index.js, lib/index.js CLI_TOOLS, lib/llm/index.js CLI_DOCS), so it shows up in environment-setup. The fifth piece that CLAUDE.md lists for every new tool — bin/cli.js — was not updated, so the standalone CLI had no menu entry, no --ovhcloud flag and no full-setup step for it.

This mirrors the existing hcloud wiring in bin/cli.js:

  • import configureOvhcloudCli
  • full setup: new step 11 "OVHcloud CLI"; LLM configuration moves to 12, all counters [n/11] → [n/12]
  • menu entry "Configure OVHcloud CLI (ovhcloud)" after hcloud, plus its switch case
  • --ovhcloud flag, help line and else if branch

README: ovhcloud added to the tool list, the tool table and the docs list.

@fank — if leaving ovhcloud out of the standalone CLI was deliberate (environment-setup only), say so and I'll close this.

No ticket — authorized no-ticket fix.

Testing

  • npm test: 6/6 pass. npx eslint bin/cli.js clean; npx prettier --check bin/cli.js README.md clean.
  • node bin/cli.js --help lists --ovhcloud Configure OVHcloud CLI only (exit 0; also confirms the new import resolves).
  • Rendered the interactive menu in a pseudo-terminal and arrowed down: "Configure OVHcloud CLI (ovhcloud)" appears directly after hcloud and is selectable. Cancelled without selecting it, so configureOvhcloudCli itself (unchanged from feat: add OVHcloud CLI (ovhcloud) installer and docs #103) was not executed here.

ovhcloud was wired into the library (installers, CLI_TOOLS, CLI_DOCS) but
not into bin/cli.js, so the standalone CLI had no menu entry, no
--ovhcloud flag and no full-setup step for it. Mirror the hcloud wiring:
import, menu entry, switch case, --ovhcloud flag and help line, and a
full-setup step (11 -> 12 steps). List ovhcloud in the README too.
@smini-digital smini-digital self-assigned this Oct 30, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request integrates the OVHcloud CLI (ovhcloud) into the setup tool. The changes include updating the README.md documentation, importing and registering the configureOvhcloudCli installer in bin/cli.js, and adding support for it in the full setup flow, interactive menu, and command-line arguments. No issues were identified, and I have no feedback to provide.

@smini-digital

Copy link
Copy Markdown
Contributor Author

🔏 Readiness attested — the pr-readiness-check gate completed for PR #143 at cb07d56805a1b9a093da7473b73b2428bc973500 (2026-10-30T10:11:09Z). If the branch head has moved, this evidence covers the earlier state only.

Readiness summary

PR Readiness Check (#143, cb07d56)
Review mode INITIAL
Branch/base PASS
Local verification PASS — npx eslint bin/cli.js; prettier --check bin/cli.js README.md; npm test 6/6 (run locally: no CI workflow runs tests); node bin/cli.js --help lists --ovhcloud
Remote CI PASS — NPM (Check format, Lint) and CodeQL success on current head; DEFERRED UNTIL READY — License NPM (skipped on draft; ready_for_review trigger)
Coverage NOT REPORTED
Automated reviewers PASS — current-head Gemini review, no threads
Review threads PASS (0 unresolved)
Review comments PASS (open-review-comments.sh exit 0)
Council findings DISPOSITIONED — round 1 APPROVE, 12/12 reviewers, 0 findings; disclosed: 3 deepseek slots answered by gemini-3-flash fallback (deepseek key fetch needs gcloud reauth)
Standards review DISPOSITIONED — independent subagent: no violations; ADVISORY: README flag block / project tree pre-existing drift (not changed)
Spec review DISPOSITIONED — independent subagent: both requirements implemented; README additions within accepted scope; ADVISORY: package.json description omits ovhcloud (pre-existing)
PR description PASS
SQL/UI evidence SKIP
Result: READY

Tidy comments: SKIP (out of scope: tidy-comments covers Go // comments only; diff is JS/Markdown)
Dispositions: ~/dev/.files/llm-cli-setup-pr-143/council-dispositions.md

@smini-digital
smini-digital marked this pull request as ready for review October 30, 2026 10:11
@smini-digital
smini-digital requested review from Hinne1 and fank October 30, 2026 10:48
@fank

fank commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Ratatoskr reviewed this pull request.

Approved on cb07d568. See the review.

Finished 2026-10-30 10:51 UTC.

@fank fank left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

APPROVE — 0 blocking findings.

Review details

Reviewed head cb07d56805a1b9a093da7473b73b2428bc973500 against main, including the existing installer and library integrations. The standalone wiring follows the repository's hcloud pattern and completes the missing entry point required by CLAUDE.md. No correctness or safety defect found.

Checks performed:

  • node --check bin/cli.js: passed.
  • node --experimental-vm-modules --input-type=module with an inline harness loading the actual CLI source and synthetic dependency modules: passed assertions that --ovhcloud invokes only configureOvhcloudCli, the menu entry follows hcloud and dispatches correctly, and full setup invokes OVHcloud once before LLM configuration with sequential [1/12] through [12/12] labels. This is isolated dispatch verification, not an installer or rendered UI test.
  • npm test: unavailable (npm: command not found). node bin/cli.js --help: unavailable because checkout dependencies are absent (ERR_MODULE_NOT_FOUND: chalk). No packages installed or checkout files changed. Actual installation, authentication, and interactive rendering were not exercised.
  • GitHub reports lint, formatting, both CodeQL analyses, and the completed license check successful; another license check is skipped.

Optional test improvement: test/atl.test.js covers ATL helpers only; its six tests do not exercise this change and would also pass with the OVHcloud wiring reverted. Consider adding persistent CLI dispatch regression tests for the flag, menu, and full-setup paths.

Discussion follow-up: GraphQL review-thread enumeration returned no threads and no further pages. Resolved: 0; still open: 0; skipped: 0.

@smini-digital

Copy link
Copy Markdown
Contributor Author

Ratatoskr status comment #issuecomment-6520869548: approved with 0 findings; nothing to change.

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.

2 participants