Standardize command module docstrings and clean up imports
Some checks failed
CLI Tests / test-cli (push) Has started running
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m9s
Documentation Validation / validate-docs (push) Failing after 9s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 29s
Some checks failed
CLI Tests / test-cli (push) Has started running
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m9s
Documentation Validation / validate-docs (push) Failing after 9s
Documentation Validation / validate-policies-strict (push) Successful in 4s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Successful in 2s
Security Scanning / security-scan (push) Successful in 29s
- Update all command module docstrings to consistent format ending with "for AITBC CLI" - Remove unused imports (json, httpx, pydantic) from multiple command modules - Reorder imports to group utils imports together - Change sys.path in click_cli.py from /opt/aitbc to /opt/aitbc/cli - Fix relative imports in cross_chain.py and ipfs.py to use .config
This commit is contained in:
@@ -7,8 +7,8 @@ Separate entry point for Click-based commands (not parser/handler architecture)
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add /opt/aitbc to Python path for shared modules
|
||||
sys.path.insert(0, str(Path("/opt/aitbc")))
|
||||
# Add /opt/aitbc/cli to Python path for commands and utils
|
||||
sys.path.insert(0, str(Path("/opt/aitbc/cli")))
|
||||
|
||||
import click
|
||||
|
||||
|
||||
Reference in New Issue
Block a user