CLI tool for DryScan - semantic code duplication analyzer
npm install @goshenkata/dryscan-cliCLI for DryScan - semantic code duplication analyzer.
``bash`
npm install -g @goshenkata/dryscan-cli
`bashInitialize repository
dryscan init
Configuration
Create
dryconfig.json in your repository root:`json
{
"threshold": 0.88,
"minLines": 5,
"embeddingSource": "huggingface",
"excludedPaths": ["/test/"]
}
`Embedding Providers:
- HuggingFace (default):
"embeddingSource": "huggingface" (requires HUGGINGFACEHUB_API_KEY env var)
- Ollama (local): "embeddingSource": "http://localhost:11434"`Just java for now
MIT