Add campaign output to campaign_stats command when campaign_id is provided
Some checks failed
CLI Tests / test-cli (push) Failing after 12s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Security Scanning / security-scan (push) Successful in 30s
Node Failover Simulation / failover-test (push) Successful in 4s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Some checks failed
CLI Tests / test-cli (push) Failing after 12s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Security Scanning / security-scan (push) Successful in 30s
Node Failover Simulation / failover-test (push) Successful in 4s
Multi-Node Stress Testing / stress-test (push) Successful in 4s
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
- Add output call to display campaign data when specific campaign_id is found - Add early return after outputting campaign to prevent further processing
This commit is contained in:
@@ -469,6 +469,8 @@ def campaign_stats(ctx, campaign_id: Optional[str]):
|
||||
if not campaign:
|
||||
error(f"Campaign '{campaign_id}' not found")
|
||||
ctx.exit(1)
|
||||
output(campaign, ctx.obj['output_format'])
|
||||
return
|
||||
|
||||
|
||||
@monitor.command()
|
||||
|
||||
Reference in New Issue
Block a user