Skip to content

feat: Export/import plugin lists #7

@bojanrajkovic

Description

@bojanrajkovic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions