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.
cue plugin updatecurrently just prints a success message afterui.PrintInfo, but the TODO incmd/plugin.gosays 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 (orplugin.Install) so the TOML files are refreshed. Handle network failures gracefully and consider keeping a--dry-runflag so we can preview what would be re-installed.