Skip to content

feat: add onecli.sh-cli devcontainer feature - #195

Merged
sebst merged 3 commits into
mainfrom
copilot/onecli-sh-cli-feature
Mar 24, 2026
Merged

sebst merged 3 commits into
mainfrom
copilot/onecli-sh-cli-feature

Conversation

Copilot AI commented Mar 24, 2026 •

Copy link
Copy Markdown
Contributor

Adds a new devcontainer feature to install the onecli CLI — a terminal tool for managing agents, secrets, rules, and configuration via the OneCLI platform.

Changes

  • src/onecli.sh-cli/devcontainer-feature.json — feature manifest, id onecli.sh-cli, version 1.0.0, version option defaulting to latest
  • src/onecli.sh-cli/install.sh — gh release install method using the canonical fzf-style template; downloads onecli_${version}_linux_${architecture}.tar.gz from onecli/onecli-cli releases (binary at archive root, standard Go amd64/arm64 arch labels)
  • src/onecli.sh-cli/NOTES.md — project link, description, install method docs
  • test/onecli.sh-cli/test.sh — smoke test via onecli --version
  • README.md — table row added alphabetically between nvidia.com/cuda and opencode.ai
Original prompt

This section details on the original issue you should resolve

<issue_title>Create "onecli.sh/cli" feature (id "onecli.sh-cli")</issue_title>
<issue_description>Gh repo onecli/onecli-cli</issue_description>

Comments on the Issue (you are @copilot in this section)


⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.

@sebst
sebst marked this pull request as ready for review March 24, 2026 14:05
Copilot AI changed the title [WIP] Add onecli.sh/cli feature feat: add onecli.sh-cli devcontainer feature Mar 24, 2026
Copilot AI requested a review from sebst March 24, 2026 14:08

@sebst sebst 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.

Tests failing

Copilot AI commented Mar 24, 2026

Copy link
Copy Markdown
Contributor Author

Tests failing

Fixed in 2f9aa92. The onecli binary doesn't support a --version flag — it returns a JSON error. It uses a version subcommand instead (onecli version → {"version": "1.1.0"}). Updated both test/onecli.sh-cli/test.sh and versionArgument in install.sh accordingly.

Copilot AI requested a review from sebst March 24, 2026 14:16
@sebst
sebst merged commit 0ec219f into main Mar 24, 2026
7 checks passed
@sebst
sebst deleted the copilot/onecli-sh-cli-feature branch March 24, 2026 14:16
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.

Create "onecli.sh/cli" feature (id "onecli.sh-cli")

2 participants