Skip to content

docs(cli): slim package README + correct CLI guide/reference#129

Merged
jodeleeuw merged 3 commits into
mainfrom
docs/cli-materials
Jun 26, 2026
Merged

docs(cli): slim package README + correct CLI guide/reference#129
jodeleeuw merged 3 commits into
mainfrom
docs/cli-materials

Conversation

@Mandyx22

Copy link
Copy Markdown
Contributor

PR 2 — CLI docs follow-up (stacked on #127)

Stacked on docs/reorganize-user-guides (#127). Base that PR first; this one shows only the CLI-specific changes.

packages/cli/README.md — slimmed to intro + links

Removed the walkthrough, flags table, metadata-options example, and data-file requirements that now duplicate docs/cli-guide.md and docs/cli-reference.md. Kept a quick start (with the Node.js prerequisite up front), a project-structure sketch, a Documentation section linking to the docs/ guides, and the dev "run locally" note. 144 → ~45 lines.

docs/cli-guide.md + docs/cli-reference.md — accuracy corrections

Reviewed both against the current CLI implementation and made targeted fixes:

  • CSV originals are not duplicated under data/raw/. CSVs are copied to data/ (their final tabular form is the preserved copy); only JSON/JSONL originals are kept under data/raw/. The old "What you get" tree wrongly showed the CSV example files under raw/. (cli/src/data.ts:421 — raw block is gated on if (parsed), set only for JSON/JSONL.)
  • .psychds-ignore — documented the top-level file written when raw originals are preserved (data.ts:554-559), plus that nested arrays produce sidecar CSVs.
  • --data-dir accepts .csv, .json, or .jsonl (was ".csv or .json"; data.ts:12-13).
  • Non-interactive behavior — join keys are resolved automatically (no prompt; index.ts:742-749), and the tool also runs without prompting when not attached to a TTY (index.ts:730).
  • Example project name changed from flanker-study to my-experiment, and marked explicitly as an example.

No new recipes/troubleshooting/--help content, and no CLI runtime changes — docs only.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d096639

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jodeleeuw jodeleeuw changed the base branch from docs/reorganize-user-guides to main June 26, 2026 00:49
Mandyx22 and others added 3 commits June 26, 2026 09:32
Remove the walkthrough, flags table, metadata-options example, and
data-file requirements that now duplicate docs/cli-guide.md and
cli-reference.md. Keep a quick start (with the Node.js prerequisite
up front), a project-structure sketch, a Documentation section
linking to the docs/ guides, and the dev "run locally" note.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- CSV inputs are copied to data/ but not additionally duplicated under
  data/raw/; only JSON/JSONL originals are preserved there. Fix the
  "What you get" tree and the accepted-formats note accordingly.
- Document the top-level .psychds-ignore written when raw originals
  are preserved, and that nested arrays produce sidecar CSVs.
- --data-dir accepts .csv, .json, or .jsonl.
- Non-interactive mode: join keys are resolved automatically; the tool
  also runs without prompting when not attached to a TTY.
- Use my-experiment as the example project name and mark it as an example.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The project-structure tree showed data/raw/ unconditionally, contradicting the
corrected cli-guide.md/cli-reference.md in this same PR: CSV inputs are written
straight to data/ and a CSV-only dataset has no data/raw/ folder.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jodeleeuw jodeleeuw force-pushed the docs/cli-materials branch from 341bc2c to d096639 Compare June 26, 2026 13:32
@jodeleeuw jodeleeuw merged commit 3f8280c into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants