MCPcopy Index your code
hub / github.com/HKUDS/DeepCode / print_usage_example

Function print_usage_example

tools/code_indexer.py:1610–1640  ·  view source on GitHub ↗

Print usage examples for different scenarios

()

Source from the content-addressed store, hash-verified

1608
1609
1610def print_usage_example():
1611 """Print usage examples for different scenarios"""
1612 print("""
1613 📖 Code Indexer Usage Examples:
1614
1615 1. Basic usage with config file:
1616 - Update paths in indexer_config.yaml
1617 - Run: python code_indexer.py
1618
1619 2. Enable debugging:
1620 - Set debug.verbose_output: true in config
1621 - Set debug.save_raw_responses: true to save LLM responses
1622
1623 3. Enable concurrent processing:
1624 - Set performance.enable_concurrent_analysis: true
1625 - Adjust performance.max_concurrent_files as needed
1626
1627 4. Enable caching:
1628 - Set performance.enable_content_caching: true
1629 - Adjust performance.max_cache_size as needed
1630
1631 5. Mock mode for testing:
1632 - Set debug.mock_llm_responses: true
1633 - No API calls will be made
1634
1635 6. Custom output:
1636 - Modify output.index_filename_pattern
1637 - Set output.generate_statistics: true for detailed reports
1638
1639 📋 Configuration file location: tools/indexer_config.yaml
1640 """)
1641
1642
1643if __name__ == "__main__":

Callers 1

code_indexer.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected