Summary
Export the list of installed plugins to a file and import it on another machine or project.
Motivation
- Share plugin configurations across machines
- Back up plugin setup before reinstalling
- Share recommended plugin sets with team members
- Quickly set up a new project with standard plugins
Proposed Implementation
- Add
--export CLI flag: cpm --export plugins.json
- Add
--import CLI flag: cpm --import plugins.json
- Export format (JSON):
{
"version": 1,
"plugins": [
{"id": "plugin@marketplace", "scope": "user"},
{"id": "other@marketplace", "scope": "project"}
]
}
- Import shows confirmation with list of plugins to install
- Option to skip already-installed plugins
Complexity
Low - Simple file I/O and iteration over install commands.
Summary
Export the list of installed plugins to a file and import it on another machine or project.
Motivation
Proposed Implementation
--exportCLI flag:cpm --export plugins.json--importCLI flag:cpm --import plugins.json{ "version": 1, "plugins": [ {"id": "plugin@marketplace", "scope": "user"}, {"id": "other@marketplace", "scope": "project"} ] }Complexity
Low - Simple file I/O and iteration over install commands.