use PathBuf;
use Parser;
/// Assemble a kernel payload and write the binary image to stdout.
///
/// The default mode appends a compressed kernel package to a raw,
/// device-appropriate abl-exorcist AArch64 shim. With --ramdisk, the output is
/// an ABLXRD1 container containing the compressed kernel followed by the supplied
/// initramfs bytes, unchanged. Both modes write the binary image to stdout.
///
/// The kernel is converted to a validated raw arm64 Image before assembly.
/// Device selection, shim provenance, Android boot image geometry, partition
/// writes, and flashing belong to higher-level consumers.