use clap::Parser;
#[derive(Parser, Debug)]
#[command(
author,
version,
about,
long_about = "wonok runs the provided command and captures its stdout. If the command exits with success, wonok atomically writes the captured output to the specified file.\n\nThis ensures that the output file is only updated if the command completes successfully, preventing partial or corrupted files."
)]
pub struct Cli {
pub output: String,
pub command: Vec<String>,
}