Skip to content

docs(schema): document the options the CLI already accepts - #491

Open
boleklebovski wants to merge 1 commit into
nansen-ai:mainfrom
boleklebovski:docs/schema-missing-options
Open

docs(schema): document the options the CLI already accepts#491
boleklebovski wants to merge 1 commit into
nansen-ai:mainfrom
boleklebovski:docs/schema-missing-options

docs(schema): document the options the CLI already accepts

1aee8cb
Select commit
Loading
Failed to load commit list.
Nansen PR Reviewer / pr-reviewer succeeded Aug 14, 2026 in 1m 49s

No issues found

Review Status

Passed

Review effort: 2/5 (Simple)

Details

This PR is a clean schema sync — it adds 94 previously-missing option entries to src/schema.json that the CLI already implemented but had never documented in the machine-readable schema. No runtime code is modified.

I verified every addition against the source:

  • alerts list options (type, enabled, disabled, token-address, chain, offset, limit) — all seven map exactly to the options/flags reads in the list handler in src/commands/alerts.js.
  • alerts create/alerts update type-specific flags — the 42 flow/filter/counterparty flags match the typeSpecificFlags table and the three build*Data() functions entry-for-entry. Option counts land at 53 (create) and 54 (update), matching the PR's claim (the +1 in update is the enabled flag, which is correct since create only has disabled).
  • research profiler batch --addresses/--file — both are read unconditionally in the batch branch of cli.js (lines 1265–1280).
  • research token screener --search — the search variable is read from options.search at line 1348 of cli.js and used for client-side filtering.
  • Schema JSON parses cleanly with no syntax errors and maintains 2-space indentation throughout.
  • Changeset is present, correctly named nansen-cli, and uses patch — appropriate for a documentation/schema sync with no user-visible behavior change.

Note: Claude suggested: APPROVE. Final status determined by severity thresholds.