@goshenkata/dryscan-cli
v1.1.3
Published
CLI tool for DryScan - semantic code duplication analyzer
Maintainers
Readme
@goshenkata/dryscan-cli
CLI for DryScan - semantic code duplication analyzer.
Installation
npm install -g @goshenkata/dryscan-cliUsage
# Initialize repository
dryscan init
# Find duplicates
dryscan dupes # Text report
dryscan dupes --json # JSON output
dryscan dupes --ui # Web UI at http://localhost:3000
# Update index after changes
dryscan update
# Exclude duplicate by short ID
dryscan dupes exclude abc123
# Clean stale exclusions
dryscan cleanConfiguration
Create dryconfig.json in your repository root:
{
"threshold": 0.88,
"minLines": 5,
"embeddingSource": "huggingface",
"excludedPaths": ["**/test/**"]
}Embedding Providers:
- HuggingFace (default):
"embeddingSource": "huggingface"(requiresHUGGINGFACEHUB_API_KEYenv var) - Ollama (local):
"embeddingSource": "http://localhost:11434"
Supported languages**
Just java for now
License
MIT
