chore: build out the infrastructure for commands to be passed to the clap CLI

This commit is contained in:
J / Jacob Babich
2024-10-15 16:15:33 -04:00
parent c1bab4d55e
commit 22733f51e0
3 changed files with 19 additions and 4 deletions

View File

@@ -1,4 +1,15 @@
pub fn main() {
use clap::{Parser, Subcommand};
#[derive(Debug, Subcommand)]
enum Command {}
#[derive(Debug, Parser)]
pub struct Args {
#[command(subcommand)]
command: Command,
}
pub fn main(args: Args) {
#[cfg(feature = "tracing")]
tracing::info!("What's up, world?");
}