docs: update CLI command syntax across workflow documentation
Some checks failed
API Endpoint Tests / test-api-endpoints (push) Waiting to run
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

- 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:
aitbc
2026-04-08 12:10:21 +02:00
parent ef4a1c0e87
commit 40ddf89b9c
251 changed files with 3555 additions and 61407 deletions

View File

@@ -5,6 +5,7 @@ Enhanced conftest for pytest with AITBC CLI support and comprehensive test cover
import pytest
import sys
import os
import subprocess
from pathlib import Path
from unittest.mock import Mock
from click.testing import CliRunner
@@ -149,9 +150,19 @@ def pytest_collection_modifyitems(config, items):
@pytest.fixture
def aitbc_cli_runner():
"""Create AITBC CLI runner with test configuration"""
from aitbc_cli.main import cli
runner = CliRunner()
cli_path = project_root / "aitbc-cli"
def runner(*args, env=None, cwd=None):
merged_env = os.environ.copy()
if env:
merged_env.update(env)
return subprocess.run(
[str(cli_path), *args],
capture_output=True,
text=True,
cwd=str(cwd or project_root),
env=merged_env,
)
# Default test configuration
default_config = {