Skip to content

Added cli#219

Draft
niekdomi wants to merge 1 commit intoblopker:mainfrom
niekdomi:cli
Draft

Added cli#219
niekdomi wants to merge 1 commit intoblopker:mainfrom
niekdomi:cli

Conversation

@niekdomi
Copy link
Contributor

@niekdomi niekdomi commented Feb 25, 2026

This pr adds a lint command to the cli. There's a flag -u or --unique to filter duplicates. If a spelling mistake occurs, it will exit with a non zero status code. This makes it suitable for CI.

I'll iterate over the code in the next couple days, been a long day...

Anyways, here's an example of the cli:
image

Things to be done:

  • cleanup, likely needed
  • iterate over the directories in parallel? It's already fast and parallelism would add some complexity
  • Use different log level, INFO isn't appropriate for cli
  • test cases?
  • docstrings
  • anything else?

@niekdomi
Copy link
Contributor Author

niekdomi commented Feb 25, 2026

disclaimer: I'm not sure how the ansi codes behave on windows

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