From cb2041e29c6cd2df992652f4e854ce04ec873aad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Mon, 1 Jun 2026 05:56:54 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20update=20README=20=E2=80=94=20ucas=20is?= =?UTF-8?q?=20primary=20CLI,=20json-cas=20deprecated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also add list-meta and list-schema to command reference. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f730d3c..90581c9 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Use the in-memory store for tests and embedded apps, the filesystem store for pe |-------|---------|------| | Core | `@uncaged/json-cas` | Hashing, schemas, stores, verify, bootstrap | | Storage | `@uncaged/json-cas-fs` | Filesystem-backed `Store` | -| CLI | `@uncaged/cli-json-cas` | `json-cas` command-line tool | +| CLI | `@uncaged/cli-json-cas` | `ucas` command-line tool | ## Packages @@ -40,7 +40,7 @@ Use the in-memory store for tests and embedded apps, the filesystem store for pe |---------|-------------|------| | [`@uncaged/json-cas`](packages/json-cas/README.md) | Core CAS engine — hashing, schema, store, verify, bootstrap | lib | | [`@uncaged/json-cas-fs`](packages/json-cas-fs/README.md) | Filesystem-backed CAS store | lib | -| [`@uncaged/cli-json-cas`](packages/cli-json-cas/README.md) | CLI tool (`json-cas` binary) | cli | +| [`@uncaged/cli-json-cas`](packages/cli-json-cas/README.md) | CLI tool (`ucas` binary) | cli | ## Quick Start @@ -88,7 +88,7 @@ Or use the CLI (see [CLI Reference](#cli-reference) and [`packages/cli-json-cas/ ## CLI Reference -Binary: `json-cas` (also aliased `ucas`, from `@uncaged/cli-json-cas`). Default store: +Binary: `ucas` (from `@uncaged/cli-json-cas`; legacy alias `json-cas` is deprecated). Default store: `~/.uncaged/json-cas`. The store is auto-created and bootstrapped on first use — there is no `init`/`bootstrap` command, and schemas are ordinary `@schema`-typed nodes (`ucas put @schema file.json`), so there is no `schema` subcommand. @@ -107,7 +107,7 @@ raw (non-envelope) text. ``` ``` -Usage: json-cas [--store ] [--json] [args] +Usage: ucas [--store ] [--json] [args] Commands (all emit a { type, value } envelope unless noted): put Store node (value = hash) (@output/put) @@ -120,6 +120,8 @@ Commands (all emit a { type, value } envelope unless noted): render [options] Render node as text (raw output) render --pipe/-p [options] Render a piped envelope (raw output) list --type Hashes for a type (value = list) (@output/list) + list-meta Meta-schema hashes (@output/list-meta) + list-schema All schema hashes (@output/list-schema) var set|get|delete|tag|list ... Variable CRUD (@output/var-*) template set|get|list|delete ... Output-template CRUD (@output/template-*) gc Garbage collection (@output/gc)