Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 21f50e4cb60a76cc21f7dfdb5133cfe03d8066df
parent 41d075a8d1f27d61c874c79916e08278754694de
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sun, 11 Oct 2026 14:56:03 -0400

cli: the usage test names build homepage's --private

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Mcommon/bin/_cli.test.ts | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/common/bin/_cli.test.ts b/common/bin/_cli.test.ts @@ -320,7 +320,7 @@ test("usage lists source publish, source audit and build homepage's --no-source" const u = usage(COMMANDS); assert.match(u, /archilyzer source publish\s+\[--force\] \[--check\] \[--keep-scratch\] the scrubbed git mirror/); assert.match(u, /archilyzer source audit\s+\[<git dir>\] the denied-literal gate/); - assert.match(u, /archilyzer build homepage\s+\[--no-source\] compose \+ source publish \+ next build/); + assert.match(u, /archilyzer build homepage\s+\[--no-source\] \[--private\] compose \+ source publish \+ next build/); }); test("source publish takes its three booleans and nothing else; none swallows a word", () => { @@ -336,7 +336,7 @@ test("source publish takes its three booleans and nothing else; none swallows a assert.match(argumentProblem(hit!.command, {}, ["extra"])!, /unexpected argument "extra"/); }); -test("source audit takes one git dir; build homepage takes --no-source only", () => { +test("source audit takes one git dir; build homepage takes --no-source and --private only", () => { const audit = resolveCommand(COMMANDS, ["source", "audit", "/tmp/clone/.git"]); assert.deepEqual(audit?.rest, ["/tmp/clone/.git"]); assert.equal(argumentProblem(audit!.command, {}, audit!.rest), null); @@ -345,7 +345,7 @@ test("source audit takes one git dir; build homepage takes --no-source only", () const parsed = parseArgv(["build", "homepage", "--no-source"], booleanFlags(COMMANDS)); assert.deepEqual(parsed, { positionals: ["build", "homepage"], flags: { "no-source": true } }); assert.equal(argumentProblem(home!.command, parsed.flags, []), null); - assert.match(argumentProblem(home!.command, { force: true }, [])!, /unknown flag --force \(accepts --no-source\)/); + assert.match(argumentProblem(home!.command, { force: true }, [])!, /unknown flag --force \(accepts --no-source, --private\)/); }); // ── passthrough commands (one-core Phase 4 slice 3) ─────────────────────────