Skip to content

Add index, export, info commands#1

Open
tamnd wants to merge 1 commit into
mainfrom
feat/pr1-commands
Open

Add index, export, info commands#1
tamnd wants to merge 1 commit into
mainfrom
feat/pr1-commands

Conversation

@tamnd

@tamnd tamnd commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Implements the tiobe command set against the TIOBE programming language index
  • Three commands: index (top-20 and 21-70 entries), export (full index as JSONL), info (total count and top language)
  • HTTP client with pacing and retry
  • httptest-only tests

Test plan

  • go test ./... passes
  • tiobe index returns entries from the top-20 and other tables
  • tiobe export produces JSONL records
  • tiobe info shows total language count and the current top language

Adds Stats method (Info type with total languages and top language) to
the library and wires two new commands: export (full index as JSONL) and
info (aggregate statistics).
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