@kangmomin/cpm
v0.0.2
Published
Prototype CLI for managing Codex-compatible plugins.
Readme
cpm
cpm is a prototype CLI for managing Codex-compatible plugins with a Claude Code marketplace-compatible source model.
Install
npm install -g @kangmomin/cpm
cpm scope getScope Model
cpm supports three npm-like config scopes:
user: machine-wide defaults stored at~/.cpm/config.tomlproject: shared project config stored at<project>/.cpm/plugins.tomllocal: checkout-local overrides stored at<project>/.cpm/local.toml
Effective scope resolution is:
local > project > user > builtin(project)Commands
npm install
npm start -- scope get
npm start -- scope paths
npm start -- scope set user
npm start -- scope set project
npm start -- scope set localUse --project DIR to target a specific project directory:
npm start -- scope set project --project /path/to/project
npm start -- scope get --project /path/to/projectUse --location when you want to write a default scope into a different config layer:
npm start -- scope set project --location user
npm start -- scope set local --location projectlocal config is intentionally ignored by git.
Install as a CLI
For local development:
npm link
cpm scope getOr install from this checkout:
npm install -g .
cpm scope getPublish to npm with:
npm publishRun tests with:
npm test