sherlock-io 0.1.0

SherlockIO - Lightning-fast language detection CLI tool
Documentation

SherlockIO

A CLI tool for detecting programming languages in projects.

Installation

# Build from source
cargo build --release

# Install locally
cargo install --path .

Usage

# Analyze current directory
sherlock-io

# Analyze specific directory
sherlock-io /path/to/project

# Set depth limit
sherlock-io -d 5 /path/to/project

# Output formats
sherlock-io --format table    # default
sherlock-io --format json
sherlock-io --format csv

# Options
sherlock-io --verbose                    # detailed output
sherlock-io --include-hidden            # include hidden files
sherlock-io --min-percentage 1.0        # minimum threshold

Example Output

Language Detection Report

Total Files: 127
Total Size: 2.3 MB

Language             Files    Percentage   Size     
──────────────────────────────────────────────────
Rust                 45       35.4%        1.2 MB   
JavaScript           32       25.2%        654.2 KB 
TypeScript           18       14.2%        423.1 KB 
JSON                 12       9.4%         89.4 KB  
Markdown             8        6.3%         45.2 KB  

Supported Languages

  • Programming: Rust, Python, JavaScript, TypeScript, Go, Java, C/C++, C#, PHP, Ruby, Swift, Kotlin, Scala
  • Web: HTML, CSS, SCSS, Vue, React (JSX/TSX)
  • Data: JSON, YAML, TOML, XML, SQL
  • Other: Dockerfile, Makefile, Markdown, Shell scripts

License

MIT License