Files
aitbc/dev/cli/test-cli-staging.sh
oib bb5363bebc refactor: consolidate blockchain explorer into single app and update backup ignore patterns
- Remove standalone explorer-web app (README, HTML, package files)
- Add /web endpoint to blockchain-explorer for web interface access
- Update .gitignore to exclude application backup archives (*.tar.gz, *.zip)
- Add backup documentation files to .gitignore (BACKUP_INDEX.md, README.md)
- Consolidate explorer functionality into main blockchain-explorer application
2026-03-06 18:14:49 +01:00

37 lines
1001 B
Bash
Executable File

#!/bin/bash
# CLI Staging Test Script
echo "=== CLI Staging Test ==="
echo "Date: $(date)"
echo ""
# Start mock server in background
echo "Starting CLI Mock Server..."
python3 /home/oib/windsurf/aitbc/cli-dev/mock-cli-server.py &
MOCK_PID=$!
sleep 3
# Test CLI with staging configuration
echo "1. Testing CLI with Mock Server:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml test api
echo ""
echo "2. Testing CLI Marketplace with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml marketplace gpu list
echo ""
echo "3. Testing CLI Agents with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml agent list
echo ""
echo "4. Testing CLI Blockchain with Mock:"
aitbc --config-file /home/oib/windsurf/aitbc/cli-dev/cli-staging-config.yaml blockchain status
echo ""
# Clean up
echo "Stopping Mock Server..."
kill $MOCK_PID 2>/dev/null
wait $MOCK_PID 2>/dev/null
echo "=== CLI Staging Test Complete ==="