Basic Command Structure
The Cubipods CLI follows a simple command structure:--bytecode flag to specify the EVM bytecode to execute.
Running Bytecode
To execute EVM bytecode, use the-b or --bytecode flag:
0x prefix:
Verbose Mode
Enable verbose output to see detailed execution information:- Execution history with each opcode step
- Final stack state
- Final memory state
- Final storage state
- Execution analysis and statistics
Exit Codes
The Cubipods CLI uses standard exit codes:| Exit Code | Description |
|---|---|
0 | Successful execution |
| Non-zero | Error occurred (e.g., invalid bytecode, execution failure) |
Output Format
Standard Output
By default (without--verbose), Cubipods executes the bytecode and returns silently on success. The final state can be inspected programmatically through the VM.
Verbose Output
With the--verbose flag enabled, Cubipods provides detailed output including:
- Execution History: Step-by-step trace of opcode execution
- Stack State: Contents of the stack after execution
- Memory State: Memory contents after execution
- Storage State: Storage values after execution
- Analysis: Execution statistics and insights
Verbose mode is particularly useful for debugging bytecode or understanding execution flow.
Required Arguments
The--bytecode argument is required for all commands. Running Cubipods without this flag will result in an error: