Files
aitbc/cli/__init__.py
aitbc 40ddf89b9c
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
docs: update CLI command syntax across workflow documentation
- Updated marketplace commands: `marketplace --action` → `market` subcommands
- Updated wallet commands: direct flags → `wallet` subcommands
- Updated AI commands: `ai-submit`, `ai-status` → `ai submit`, `ai status`
- Updated blockchain commands: `chain` → `blockchain info`
- Standardized command structure across all workflow files
- Affected files: MULTI_NODE_MASTER_INDEX.md, TEST_MASTER_INDEX.md, multi-node-blockchain-marketplace
2026-04-08 12:10:21 +02:00

24 lines
572 B
Python

#!/usr/bin/env python3
"""
AITBC CLI - Main entry point for CLI
Redirects to the core main module
"""
import sys
from pathlib import Path
import importlib.util
# Add CLI directory to Python path
CLI_DIR = Path(__file__).parent
sys.path.insert(0, str(CLI_DIR))
# Import and run the main CLI
_CLI_FILE = CLI_DIR / "aitbc_cli.py"
_CLI_SPEC = importlib.util.spec_from_file_location("aitbc_cli_file", _CLI_FILE)
_CLI_MODULE = importlib.util.module_from_spec(_CLI_SPEC)
_CLI_SPEC.loader.exec_module(_CLI_MODULE)
main = _CLI_MODULE.main
if __name__ == '__main__':
main()