mkwim 0.1.0

Create a bootable Windows installation image from an ISO
// SPDX-License-Identifier: GPL-3.0-or-later
// Copyright (c) 2026 Jarkko Sakkinen

//! Command-line interface definition.

use std::path::PathBuf;

use argh::FromArgs;

/// Create a bootable Windows installation USB or raw disk image from an ISO
#[derive(FromArgs)]
pub struct Args {
    /// path to the Windows installation ISO image
    #[argh(positional)]
    pub iso: PathBuf,

    /// target whole-disk block device or raw image file, e.g. /dev/sdb or windows.img
    #[argh(positional)]
    pub output: PathBuf,
}