Commands: - open-pencil info <file> — document stats, node types, fonts - open-pencil tree <file> — visual node tree with agentfmt - open-pencil find <file> — search by name/type with rich output - open-pencil export <file> — render to PNG/JPG/WEBP at any scale Uses canvaskit-wasm/full for headless CPU rasterization. All commands support --json for machine-readable output. agentfmt provides consistent colored terminal formatting.
18 lines
328 B
JSON
18 lines
328 B
JSON
{
|
|
"name": "@open-pencil/cli",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"bin": {
|
|
"open-pencil": "./src/index.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.2.9"
|
|
},
|
|
"dependencies": {
|
|
"@open-pencil/core": "workspace:*",
|
|
"agentfmt": "^0.1.3",
|
|
"canvaskit-wasm": "^0.40.0",
|
|
"citty": "^0.1.6"
|
|
}
|
|
}
|