Update click_cli.py path configuration and fix config module import
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 4s
Security Scanning / security-scan (push) Successful in 15s
Some checks failed
CLI Tests / test-cli (push) Failing after 10s
Cross-Node Transaction Testing / transaction-test (push) Successful in 3s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 4s
Security Scanning / security-scan (push) Successful in 15s
- Add /opt/aitbc to sys.path for shared modules access - Update comment to reflect both paths being added - Change config.py import from local to aitbc_cli.config - Rename Config to CLIConfig in import statement
This commit is contained in:
@@ -7,7 +7,8 @@ Separate entry point for Click-based commands (not parser/handler architecture)
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Add /opt/aitbc/cli to Python path for commands and utils
|
||||
# Add /opt/aitbc and /opt/aitbc/cli to Python path for shared modules
|
||||
sys.path.insert(0, str(Path("/opt/aitbc")))
|
||||
sys.path.insert(0, str(Path("/opt/aitbc/cli")))
|
||||
|
||||
import click
|
||||
|
||||
Reference in New Issue
Block a user