mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-22 19:07:41 +00:00
Rebuild the CLI on commander. Commands for every cli-surface Operation (project ls, ls, mkdir, rename, move/mv, delete/rm) are generated from @shumai/operations: positionals, options, choices, numeric parsing and help text come from the Zod input schema. They call POST /api/ops/:name with x-shumai-client: cli. Existing invocations keep working. Adds --json, ls --type/--first/ --after, typo suggestions, and generated help. upload and create-version stay hand-written. Drops the unused @shumai/core dependency.
20 lines
407 B
JSON
20 lines
407 B
JSON
{
|
|
"name": "@shumai/cli",
|
|
"version": "0.6.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"shumai-cli": "./src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"@shumai/api": "workspace:*",
|
|
"@shumai/dtos": "workspace:*",
|
|
"@shumai/operations": "workspace:*",
|
|
"@shumai/tableprinter": "workspace:*",
|
|
"commander": "15.0.0",
|
|
"hono": "4.13.5",
|
|
"ulid": "3.0.2",
|
|
"zod": "4.5.4"
|
|
}
|
|
}
|