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 following a
Noun-Verb hierarchy (e.g., hexz data pack, hexz vm boot). Each
submodule contains the implementation logic for its respective commands.
§Architecture
hexz <CATEGORY> <ACTION> [OPTIONS]
^^^^^^^^^^ ^^^^^^
module function§Command Categories
-
[
data]: Data operations for archivespack: Create archives from disk imagesbuild: Build archives from directoriesinfo: Inspect archive metadatadiff: Show overlay differences (diagnostics feature)analyze: Optimize CDC parameters with DCAM (diagnostics feature)
-
[
vm]: Virtual machine operationsboot: Launch VMs from snapshots (FUSE feature)install: Install OS from ISO (FUSE feature)snap: Create live snapshots via QMPcommit: Commit overlay changesmount: Mount snapshots as filesystems (FUSE feature)unmount: Unmount filesystems (FUSE feature)
-
[
sys]: System utilitiesdoctor: Run diagnostics (diagnostics feature)bench: Benchmark performance (diagnostics feature)serve: Serve archives over network (server feature)keygen: Generate signing keys (signing feature)sign: Sign archives (signing feature)verify: Verify signatures (signing feature)
§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