USAGE_EXAMPLES

Constant USAGE_EXAMPLES 

Source
pub const USAGE_EXAMPLES: &str = "\
USAGE EXAMPLES:

Basic Usage:
  # Process current directory
  context-creator
  
  # Process specific directories
  context-creator src/ tests/ docs/
  
  # Save to file
  context-creator -o context.md

Pattern Matching:
  # Include specific file types (quote patterns to prevent shell expansion)
  context-creator --include \"**/*.py\" --include \"src/**/*.{rs,toml}\"
  
  # Exclude patterns
  context-creator --ignore \"**/*_test.py\" --ignore \"**/migrations/**\"
  
  # Combine includes and excludes
  context-creator --include \"**/*.ts\" --ignore \"node_modules/**\"

Search Command:
  # Search for a term with automatic semantic analysis
  context-creator search \"AuthenticationService\"
  
  # Search without semantic analysis (faster)
  context-creator search \"TODO\" --no-semantic
  
  # Search in specific directories
  context-creator search \"database\" src/ tests/

Git Diff Command:
  # Compare current changes with last commit
  context-creator diff HEAD~1 HEAD
  
  # Compare two branches
  context-creator diff main feature-branch
  
  # Save diff analysis to file
  context-creator --output-file changes.md diff HEAD~1 HEAD
  
  # Apply token limits for large diffs
  context-creator --max-tokens 50000 diff HEAD~5 HEAD
  
  # Include semantic analysis of changed files
  context-creator --trace-imports --include-callers diff main HEAD

Semantic Analysis:
  # Trace import dependencies
  context-creator --trace-imports --include \"**/auth.py\"
  
  # Find function callers
  context-creator --include-callers --include \"**/payment.ts\"
  
  # Include type definitions
  context-creator --include-types --include \"**/models/**\"
  
  # Control traversal depth
  context-creator --semantic-depth 5 --include \"src/core/**\"

LLM Integration:
  # Ask questions about your codebase
  context-creator --prompt \"How does authentication work?\"
  
  # Targeted analysis
  context-creator --prompt \"Review security\" --include \"src/auth/**\"
  
  # Read prompt from stdin
  echo \"Find performance issues\" | context-creator --stdin

Remote Repositories:
  # Analyze GitHub repository
  context-creator --repo https://github.com/owner/repo
  
  # With specific patterns
  context-creator --repo https://github.com/facebook/react --include \"**/*.js\"

Advanced Options:
  # Copy to clipboard
  context-creator --include \"**/*.py\" --copy
  
  # Set token limit
  context-creator --max-tokens 100000
  
  # Verbose logging
  context-creator -vv --include \"src/**\"
";
Expand description

Usage examples for the examples command