Skip to content

Commit

Permalink
wip: remove old subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
markxoe committed Jun 5, 2024
1 parent a178b88 commit 798b8e1
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use clap::{Parser, Subcommand};
use clap::Parser;

mod commands;
mod data;
Expand All @@ -11,32 +11,6 @@ struct Args {
command: Option<commands::Commands>,
}

#[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();
Expand Down

0 comments on commit 798b8e1

Please sign in to comment.