cmd: remove `{add,remove}-package` and `upgrade` commands
First half of implementing the proposal #7010. The plugin code is not pushed yet.
Closes #7010
When you publish the plugin, can you document that caddy upgrade does not upgrade plugins? (unless I'm wrong about that)
When you publish the plugin, can you document that
caddy upgradedoes not upgrade plugins? (unless I'm wrong about that)
It will upgrade the plugins. Why wouldn't it? It's the same code from Caddy, just ripped out. If my messaging led the confusion anywhere, point it and I'll correct it.
Looking at the code and doing a test where I built Caddy with an outdated plugin and then ran the upgrade command led me to believe that the upgrade command only updates Caddy, but keeps the same plugin versions.
Looking at the code and doing a test where I built Caddy with an outdated plugin and then ran the upgrade command led me to believe that the upgrade command only updates Caddy, but keeps the same plugin versions.
You're right. Sorry, I was confused and misremembered how the code works. Well, more reasons to not have this "feature" builtin 😀