use crate::commands::{
mkv2mp3::Mkv2mp3Args, mp32mp4::Mp32mp4Args, ts2mp4::Ts2mp4Args, vidwrap::VidwrapArgs,
};
use clap::{Args, Parser, Subcommand};
use std::path::PathBuf;
#[derive(Debug, Parser)]
#[command(
name = "toolkit",
version,
about = "FFmpeg workflows for common media tasks"
)]
pub struct Cli {
#[arg(long, global = true)]
pub verbose: bool,
#[arg(long, global = true)]
pub no_color: bool,
#[arg(long, global = true)]
pub ffmpeg_path: Option<PathBuf>,
#[arg(long, global = true)]
pub ffprobe_path: Option<PathBuf>,
#[command(subcommand)]
pub command: Command,
}
#[derive(Debug, Subcommand)]
pub enum Command {
Ts2mp4(Ts2mp4Args),
Mkv2mp3(Mkv2mp3Args),
Mp32mp4(Mp32mp4Args),
Vidwrap(VidwrapArgs),
}
#[derive(Debug, Clone, Args)]
pub struct BatchArgs {
#[arg(long, default_value = "out")]
pub output_dir: PathBuf,
#[arg(long)]
pub force: bool,
}