From 4b114e96acc2482ad1c479e6d616e4ef8acef3b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Mon, 1 Jun 2026 06:29:59 +0000 Subject: [PATCH] docs: fix store path and remove redundant alias text MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - README.md: ~/.uncaged/ocas → ~/.ocas - CLI README: remove '(also aliased ocas)' redundancy Thanks 小åĒĻ for the review 🖊ïļ Closes #8 --- LICENSE | 21 +++++++++++++++++++++ README.md | 4 ++-- packages/cli/README.md | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dbc019e --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Scott Wei + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index d25d7ac..7c86761 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Or use the CLI (see [CLI Reference](#cli-reference) and [`packages/cli-ocas/READ ## CLI Reference Binary: `ocas` (from `@ocas/cli`; legacy alias `ocas` is deprecated). Default store: -`~/.uncaged/ocas`. The store is auto-created and bootstrapped on first use — there is +`~/.ocas`. The store is auto-created and bootstrapped on first use — there is no `init`/`bootstrap` command, and schemas are ordinary `@schema`-typed nodes (`ocas put @schema file.json`), so there is no `schema` subcommand. @@ -127,7 +127,7 @@ Commands (all emit a { type, value } envelope unless noted): gc Garbage collection (@output/gc) Flags: - --store Store directory (default: ~/.uncaged/ocas) + --store Store directory (default: ~/.ocas) --json Compact JSON output --pipe, -p Read a { type, value } envelope from stdin for render ``` diff --git a/packages/cli/README.md b/packages/cli/README.md index ce5262e..a248b2a 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -4,7 +4,7 @@ CLI tool for ocas stores. ## Overview -`@ocas/cli` provides the `ocas` command (also aliased `ocas`) for managing a filesystem-backed store: node CRUD, integrity checks, reference listing, graph walks, variables, and output templates. It uses `@ocas/fs` for persistence and `@ocas/core` for core operations. +`@ocas/cli` provides the `ocas` command for managing a filesystem-backed store: node CRUD, integrity checks, reference listing, graph walks, variables, and output templates. It uses `@ocas/fs` for persistence and `@ocas/core` for core operations. The store is **auto-created and bootstrapped** on first use, so there is no `init`/`bootstrap` command. Schemas are ordinary `@schema`-typed nodes — register one with `ocas put @schema file.json` and list them with `ocas list --type @schema`; there is no dedicated `schema` subcommand.