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

- 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

@@ -12,13 +12,13 @@ def run_cli_test():
# Set up environment
cli_dir = Path(__file__).parent.parent
venv_python = "/opt/aitbc/venv/bin/python"
cli_bin = "/opt/aitbc/aitbc-cli"
# Test 1: CLI help command
print("\n1. Testing CLI help command...")
try:
result = subprocess.run(
[venv_python, "aitbc_cli.py", "--help"],
[cli_bin, "--help"],
capture_output=True,
text=True,
timeout=10,
@@ -38,7 +38,7 @@ def run_cli_test():
print("\n2. Testing CLI list command...")
try:
result = subprocess.run(
[venv_python, "aitbc_cli.py", "list"],
[cli_bin, "wallet", "list"],
capture_output=True,
text=True,
timeout=10,
@@ -58,7 +58,7 @@ def run_cli_test():
print("\n3. Testing CLI blockchain command...")
try:
result = subprocess.run(
[venv_python, "aitbc_cli.py", "chain"],
[cli_bin, "blockchain", "info"],
capture_output=True,
text=True,
timeout=10,
@@ -78,7 +78,7 @@ def run_cli_test():
print("\n4. Testing CLI invalid command handling...")
try:
result = subprocess.run(
[venv_python, "aitbc_cli.py", "invalid-command"],
[cli_bin, "invalid-command"],
capture_output=True,
text=True,
timeout=10,