mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 23:28:44 +00:00
21 lines
427 B
Rust
21 lines
427 B
Rust
// src/cli/version.rs
|
|
use crate::cli::Format;
|
|
use clap::{Args, Subcommand};
|
|
use rusqlite::Connection;
|
|
|
|
#[derive(Subcommand, Debug)]
|
|
pub enum VersionCmd {
|
|
Diff(ArgsDiff),
|
|
}
|
|
|
|
#[derive(Args, Debug)]
|
|
pub struct ArgsDiff {
|
|
pub file: String,
|
|
}
|
|
|
|
pub fn run(cmd: &VersionCmd, _conn: &mut Connection, _format: Format) -> anyhow::Result<()> {
|
|
match cmd {
|
|
VersionCmd::Diff(a) => todo!("version diff {:?}", a),
|
|
}
|
|
}
|