Add search by contract functionality#16
Conversation
PR SummaryMedium Risk Overview Improves CLI ergonomics and messaging. Expands Dependency update. Bumps Written by Cursor Bugbot for commit da1b9bc. Configure here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
🚧 Files skipped from review as they are similar to previous changes (5)
📝 WalkthroughWalkthroughAdds a new Changes
Sequence DiagramsequenceDiagram
participant User
participant CLI as "search-by-contract\nCommand"
participant Parser as "Flag\nParser"
participant Client as "API\nClient"
participant Server as "Backend\nService"
participant Output as "Output\nFormatter"
User->>CLI: invoke command with flags
CLI->>Parser: parse flags (contract-address, blockchains, include-schema, limit, offset)
Parser-->>CLI: parsed values
CLI->>Client: build SearchDatasetsByContractAddressRequest
Client->>Server: SearchDatasetsByContractAddress(request)
Server-->>Client: SearchDatasetsResponse
Client-->>CLI: return response
CLI->>Output: format response (json or table)
Output-->>User: display results ("X of Y results")
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Comment |
da1b9bc to
3dee67a
Compare
Merge the detailed flag descriptions from PR #15 (max lengths, type format hints, behavioral details, category explanations) with the examples and Long descriptions from the search_by_contract work. Every Short, Long, and flag help string is now maximally descriptive so AI agents can select the right commands and flags without ambiguity.
8808475 to
716bba1
Compare
Added