@cpmai/cli 0.1.4 → 0.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -54
  2. package/dist/index.js +1742 -1186
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @cpmai/cli
2
2
 
3
- The command-line interface for CPM (Claude Package Manager).
3
+ The command-line interface for CPM.
4
4
 
5
5
  ## Installation
6
6
 
@@ -57,15 +57,6 @@ cpm list
57
57
  cpm ls # Alias: ls
58
58
  ```
59
59
 
60
- ### `cpm init`
61
-
62
- Create a new `cpm.yaml` manifest file.
63
-
64
- ```bash
65
- cpm init
66
- cpm init -y # Skip prompts
67
- ```
68
-
69
60
  ### Global Options
70
61
 
71
62
  ```bash
@@ -83,50 +74,6 @@ cpm --help # Show help
83
74
  | `skill` | Slash commands | `~/.claude/skills/<name>/` |
84
75
  | `mcp` | MCP servers | `~/.claude.json` |
85
76
 
86
- ## Development
87
-
88
- ```bash
89
- # Install dependencies
90
- pnpm install
91
-
92
- # Build
93
- pnpm build
94
-
95
- # Run tests
96
- pnpm test
97
-
98
- # Type check
99
- pnpm typecheck
100
-
101
- # Run in dev mode
102
- pnpm dev
103
- ```
104
-
105
- ## Architecture
106
-
107
- ```
108
- src/
109
- ├── index.ts # CLI entry point (commander setup)
110
- ├── commands/ # Command implementations
111
- │ ├── install.ts # Install command
112
- │ ├── uninstall.ts # Uninstall command
113
- │ ├── search.ts # Search command
114
- │ ├── list.ts # List command
115
- │ └── init.ts # Init command
116
- ├── adapters/ # Platform adapters
117
- │ ├── base.ts # Base adapter interface
118
- │ ├── index.ts # Adapter factory
119
- │ └── claude-code.ts # Claude Code adapter
120
- ├── utils/ # Utilities
121
- │ ├── logger.ts # Production logger (consola)
122
- │ ├── config.ts # Configuration helpers
123
- │ ├── downloader.ts # Package downloader
124
- │ ├── registry.ts # Registry client
125
- │ ├── platform.ts # Platform detection
126
- │ └── embedded-packages.ts # Fallback manifests
127
- └── types.ts # Type definitions
128
- ```
129
-
130
77
  ## Security
131
78
 
132
79
  The CLI implements several security measures: