Skip to content

feat: Add file-types command - #299

Merged
Pringled merged 7 commits into
mainfrom
feat/file-types-command
Oct 16, 2026
Merged

Pringled merged 7 commits into
mainfrom
feat/file-types-command

Conversation

@Pringled

Copy link
Copy Markdown
Member

This PR adds a semble file-types command, which prints the file extensions indexed for each content type as JSON. --content narrows the output to specific types. This resolves #292.

Example:

$ semble file-types --content docs
{"docs": [".adoc", ".md", ".rst", ...]}

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/semble/cli.py 100.00% <100.00%> (ø)
src/semble/version.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@greptile-apps

greptile-apps Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Reviews (2) · Last reviewed commit: "Assert representative extensions in file..." · Reviewed by Greptile

Comment thread tests/test_cli.py Outdated
@Pringled
Pringled requested a review from stephantul October 16, 2026 06:39

@stephantul stephantul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smort

@Pringled
Pringled merged commit 8ee6463 into main Oct 16, 2026
16 checks passed
@Pringled
Pringled deleted the feat/file-types-command branch October 16, 2026 10:48
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.

search misses exact matches in .json files — DATA excluded from --content all, no way to include it

2 participants