Skip to main content
Glama
8b-is
by 8b-is
demo_relations.shβ€’1.05 kB
#!/bin/bash # Demo script for Smart Tree Relations feature # "Making codebases dance!" - Trisha echo "πŸ”— Smart Tree Relations Demo" echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" echo echo "πŸ“Š Basic relationship analysis:" echo "st --relations" echo echo "🎨 Mermaid diagram output:" echo "st --relations --mode mermaid > relations.md" echo echo "πŸ” Analyze specific file relationships:" echo "st --relations --focus src/main.rs" echo echo "πŸ“ˆ Show call graph:" echo "st --call-graph --mode dot | dot -Tpng -o callgraph.png" echo echo "πŸ§ͺ Show test coverage relationships:" echo "st --test-coverage" echo echo "🎯 Find tightly coupled files:" echo "st --relations --filter coupled" echo echo "πŸ€– AI-optimized compressed format:" echo "st --relations --mode compressed -z" echo echo echo "✨ Pro tip: Combine with MCP for AI-assisted refactoring!" echo "The relations data helps AI understand impact of changes"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/8b-is/smart-tree'

If you have feedback or need assistance with the MCP directory API, please join our Discord server