graphprotocol / graphprotocol/indexer
Support setting a default protocolNetwork in indexer-cli
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 262
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
Allow the user to provide a default protocolNetwork for their indexer-cli work session; after defining it they would no longer need to provide protocolNetwork with every indexer-cli command.
This could potentially be added to the config file that currently holds connection information (generated using indexer connect command).
### Tasks
- [ ] Support setting a default protocolNetwork in indexer-cli
- [ ] Use the default protocolNetwork value (if set) in all relevant indexer-cli commands
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the indexer-cli command entry points and the connection config generated by the indexer connect command. Trace how commands currently obtain protocolNetwork, then verify that a configured default is used across all relevant commands when no value is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100