docs: update CLI command syntax across workflow documentation
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
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
- 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
This commit is contained in:
@@ -6,13 +6,18 @@ 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
|
||||
from core.main import main
|
||||
_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()
|
||||
|
||||
Reference in New Issue
Block a user