Skip to content

feat: add rate limit display and refactor CLI with Commander.js#2

Merged
GluonGrid merged 1 commit intomainfrom
feat/rate-limit-info
Jan 29, 2026
Merged

feat: add rate limit display and refactor CLI with Commander.js#2
GluonGrid merged 1 commit intomainfrom
feat/rate-limit-info

Conversation

@GluonGrid
Copy link
Copy Markdown
Owner

Summary

  • Track API rate limits from response headers
  • Display rate limit info for unauthenticated users (encourage token use)
  • Display rate limit warning when authenticated and remaining < 1000
  • Refactor CLI to use Commander.js for argument parsing
  • Automatic help generation and proper error handling for missing args

Test plan

  • Test --help shows auto-generated help
  • Test --token without value shows proper error
  • Test rate limit display for unauthenticated requests
  • Test --ext, --type and other filters work correctly

- Track API rate limits from response headers
- Display rate limit info for unauthenticated users (encourage token use)
- Display rate limit warning when authenticated and remaining < 1000
- Refactor CLI to use Commander.js for argument parsing
- Automatic help generation and proper error handling for missing args
@GluonGrid GluonGrid force-pushed the feat/rate-limit-info branch from a933630 to d3324b7 Compare January 29, 2026 11:17
@GluonGrid GluonGrid merged commit 56b3875 into main Jan 29, 2026
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.

1 participant