Structure: - control-plane/: Registries, SIMCO directives, CI/CD templates - projects/: Gamilit, ERP-Suite, Trading-Platform, Betting-Analytics - shared/: Libs catalog, knowledge-base Key features: - Centralized port, domain, database, and service registries - 23 SIMCO directives + 6 fundamental principles - NEXUS agent profiles with delegation rules - Validation scripts for workspace integrity - Dockerfiles for all services - Path aliases for quick reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.4 KiB
Bash
Executable File
44 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
# Script maestro para generar todos los inventarios
|
|
# Parte de SIMCO - Sistema Indexado Modular por Contexto
|
|
|
|
SCRIPT_DIR="$(dirname "$0")"
|
|
OUTPUT_DIR="$SCRIPT_DIR/../../docs/inventarios"
|
|
|
|
echo "=== GENERANDO TODOS LOS INVENTARIOS ==="
|
|
echo ""
|
|
|
|
# Crear directorio de salida si no existe
|
|
mkdir -p "$OUTPUT_DIR"
|
|
|
|
# Generar cada inventario y guardar en archivo
|
|
echo "📋 Generando inventario de tablas..."
|
|
bash "$SCRIPT_DIR/list-tables.sh" > "$OUTPUT_DIR/raw-tables-output.txt"
|
|
|
|
echo "📋 Generando inventario de ENUMs..."
|
|
bash "$SCRIPT_DIR/list-enums.sh" > "$OUTPUT_DIR/raw-enums-output.txt"
|
|
|
|
echo "📋 Generando inventario de funciones..."
|
|
bash "$SCRIPT_DIR/list-functions.sh" > "$OUTPUT_DIR/raw-functions-output.txt"
|
|
|
|
echo "📋 Generando inventario de triggers..."
|
|
bash "$SCRIPT_DIR/list-triggers.sh" > "$OUTPUT_DIR/raw-triggers-output.txt"
|
|
|
|
echo "📋 Generando inventario de RLS policies..."
|
|
bash "$SCRIPT_DIR/list-rls.sh" > "$OUTPUT_DIR/raw-rls-output.txt"
|
|
|
|
echo "📋 Generando inventario de índices..."
|
|
bash "$SCRIPT_DIR/list-indexes.sh" > "$OUTPUT_DIR/raw-indexes-output.txt"
|
|
|
|
echo "📋 Generando inventario de vistas..."
|
|
bash "$SCRIPT_DIR/list-views.sh" > "$OUTPUT_DIR/raw-views-output.txt"
|
|
|
|
echo "📋 Generando inventario de seeds..."
|
|
bash "$SCRIPT_DIR/list-seeds.sh" > "$OUTPUT_DIR/raw-seeds-output.txt"
|
|
|
|
echo ""
|
|
echo "✅ Todos los inventarios raw generados en: $OUTPUT_DIR"
|
|
echo ""
|
|
echo "Archivos generados:"
|
|
ls -lh "$OUTPUT_DIR"/raw-*.txt
|