Skip to content

[Feature] Implement plugin update #5

@GyaneshSamanta

Description

@GyaneshSamanta

cue plugin update currently just prints a success message after ui.PrintInfo, but the TODO in cmd/plugin.go says it should re-download each installed plugin. Right now the command does nothing, so the CLI can never pull upstream macro updates for already-installed plugins.

A good contribution would list the files under internal/plugin.PluginsDir(), parse each plugin to learn its name or source, and re-call the download logic (or plugin.Install) so the TOML files are refreshed. Handle network failures gracefully and consider keeping a --dry-run flag so we can preview what would be re-installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions