From 798b8e1065cba74f28a407cbcc9c500795fb2ccd Mon Sep 17 00:00:00 2001 From: markxoe Date: Wed, 5 Jun 2024 10:53:06 +0200 Subject: [PATCH] wip: remove old subcommand --- src/main.rs | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/src/main.rs b/src/main.rs index 19c7df1..567254b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -use clap::{Parser, Subcommand}; +use clap::Parser; mod commands; mod data; @@ -11,32 +11,6 @@ struct Args { command: Option, } -#[derive(Subcommand, Debug)] -enum SubCommands { - DeriveDB { - /// Path to the page.sql file - #[arg(short, long)] - pages_sql: String, - - /// Path to the redirects.sql file - #[arg(short, long)] - redirects_sql: String, - - /// Path to the links.sql file - #[arg(short, long)] - links_sql: String, - - /// Output Path - #[arg(short, long)] - output: String, - }, - - Test { - #[arg(short, long)] - db: String, - }, -} - fn main() { env_logger::init(); let args = Args::parse();