Skip to content

Commit

Permalink
start of CLI stuff.
Browse files Browse the repository at this point in the history
not doing anything yet
  • Loading branch information
brentp committed Aug 17, 2023
1 parent 73f78b8 commit 2957531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/bin/commands/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
pub mod command;
pub mod demux;
pub mod trimmer;
3 changes: 2 additions & 1 deletion src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub mod commands;
use anyhow::Result;
use clap::Parser;
use commands::command::Command;
use commands::demux::Demux;
use commands::{demux::Demux, trimmer::Trimmer};
use enum_dispatch::enum_dispatch;
use env_logger::Env;

Expand All @@ -23,6 +23,7 @@ struct Args {
#[command(version)]
enum Subcommand {
Demux(Demux),
Trimmer(Trimmer),
}

fn main() -> Result<()> {
Expand Down

0 comments on commit 2957531

Please sign in to comment.