Expand description
Command handlers organized by category (data, vm, sys).
This module contains all the CLI command implementations:
data: Data operations (pack, info, diff, analyze)vm: Virtual machine operations (boot, commit, snapshot)sys: System utilities (mount, unmount) Command handlers for the Hexz CLI.
This module organizes all CLI subcommands into logical groups. While the CLI
itself uses a flat command structure (e.g., hexz pack, hexz boot),
the implementation is internally namespaced to keep the code organized.
§Architecture
hexz <COMMAND> [OPTIONS]
^^^^^^^^^
flat command (grouped by category in help)§Command Categories
-
Archive Operations (
cmd::data)pack: Create archives from disk imagesbuild: Build archives from directoriesinfo: Inspect archive metadatadiff: Show overlay differencesanalyze: Optimize CDC parameters
-
Virtual Machine Operations (
cmd::vm)boot: Launch VMs from snapshotsinstall: Install OS from ISOsnap: Create live snapshots via QMPcommit: Commit overlay changesmount: Mount snapshots as filesystemsunmount: Unmount filesystems
-
System & Diagnostics (
cmd::sys)doctor: Run diagnosticsbench: Benchmark performanceserve: Serve archives over networkkeygen: Generate signing keyssign: Sign archivesverify: Verify signatures
§Error Handling
All command handlers return anyhow::Result<()>, with errors automatically
propagated to the main entry point for user-friendly display.
§Feature Flags
Some commands are gated behind feature flags:
diagnostics: Advanced debugging and analysis toolsfuse: Filesystem mounting capabilitiesserver: Network serving protocolssigning: Cryptographic signing and verification