Skip to content

feat: Add install command#204

Draft
eddie-knight wants to merge 4 commits intomainfrom
feat/installer
Draft

feat: Add install command#204
eddie-knight wants to merge 4 commits intomainfrom
feat/installer

Conversation

@eddie-knight
Copy link
Copy Markdown
Contributor

Avoid nil writer panic by creating list command in init with a Run that
calls GetListCmd(writer) and SDK Run only when executing, after
persistentPreRun has set writer. Flags applied via SetListCmdFlags.

Made-with: Cursor
…inference

- cmd/install.go: wire SDK GetInstallCmd with writer; build full URL from base or GitHub source+latest
- internal/registry: PluginData with DownloadURL; GetPluginData fetches plugin-data JSON
- internal/install: InferArtifactFilename (GOOS/GOARCH), InferGitHubReleaseBase, FromURL (GET + extract .tar.gz/.zip), FromImage stub

Made-with: Cursor
Signed-off-by: Eddie Knight <knight@linux.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant