Major enhancements: - Feature flag system for cloud vs air-gapped deployment modes - Automatic storage backend selection based on deployment mode - Comprehensive seed data generation utilities - Support for generating CSV, JSON, binary, and PCAP test files - Quick seed script for easy data generation - Angular 19 frontend complete setup documentation - Material Design UI component examples and configuration Fixes: - Resolve SQLAlchemy metadata column name conflict - Rename metadata to custom_metadata throughout codebase - Fix API health check issues Documentation: - FEATURES.md - Complete feature overview - FRONTEND_SETUP.md - Angular 19 setup guide with examples - SUMMARY.md - Implementation summary 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
660 B
Python
Executable File
27 lines
660 B
Python
Executable File
#!/usr/bin/env python
|
|
"""Quick seed data generation script"""
|
|
|
|
import asyncio
|
|
import sys
|
|
from utils.seed_data import generate_seed_data, clear_all_data
|
|
|
|
|
|
async def main():
|
|
if len(sys.argv) > 1:
|
|
if sys.argv[1] == "clear":
|
|
confirm = input("Delete ALL data? (yes/no): ")
|
|
if confirm.lower() == "yes":
|
|
await clear_all_data()
|
|
else:
|
|
print("Aborted.")
|
|
else:
|
|
count = int(sys.argv[1])
|
|
await generate_seed_data(count)
|
|
else:
|
|
# Default: generate 25 artifacts
|
|
await generate_seed_data(25)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main())
|