Repository navigation
Fix stale CLI docs, help text, and dead code - #173
Merged
neuromechanist merged 2 commits intoFeb 21, 2026
Merged
Conversation
- Update generate-docs.ts: add all missing subcommands (clone, get, save, push, drop, release, update, collaborators, s3 lock, repo, make-public, delete-dataset, etc.), fix static content (downloading guide, uploading guide, quickstart, auth guide) - Fix CLI help text: --name describes BIDS Name fallback, admin help lists publish/make-public/delete-dataset, sandbox warning uses EZID instead of Zenodo, doi update --refresh mentions metadata.json - Fix retrieve-key dead code: handle 409 in catch block instead of unreachable success branch, pass full response as ApiError details - Remove unused imports (commitRevert, createRevertBranch, listDatasetVersions), remove emoji from make-public output - Update CLAUDE.md CLI commands section with all 50+ implemented commands replacing stale 13-command "Target Structure" - Update README.md: add retrieve-key/sandbox to quickstart, replace non-existent pr/version commands with actual commands - Regenerate all docs from updated script
- Fix --bump to --type in quickstart docs - Fix DataLad references to git-annex in index - Add details wrapper to 409 response in backend - Revert broad data.details fallback in api.ts - Clean up RetrieveKeyResponse type (remove stale fields) - Show actual error message in non-ApiError catch
neuromechanist
deleted the
172-fix-stale-cli-documentation-and-help-text
branch
February 21, 2026 01:09
This was referenced Feb 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive documentation audit found 40+ issues across CLI help text, generated docs, README, and CLAUDE.md. This PR fixes the most impactful ones.
generate-docs.ts
commandsobject (clone, get, save, push, drop, release, update, collaborators, s3 lock/regenerate-iam, repo public/private, ci check/add, doi update/enrich, make-public, delete-dataset, whoami, switch)CLI source help text
--namenow says "defaults to BIDS Name, then directory name" (was just "directory name")doi update --refreshdescription mentions .nemar/metadata.json (was only "BIDS dataset_description.json")Code fixes
detailsfield exists (was passingundefined)CLAUDE.md
README.md
Test plan
bun run buildsucceedsbun testpasses (120/120 core tests, 37/37 workflow tests)bun run scripts/generate-docs.tsregenerates all docsnemar dataset upload --helpshows corrected --name descriptionnemar admin --helpshows make-public and delete-datasetCloses #172