forked from StrafesNET/roblox-bot-player
25 lines
398 B
Rust
25 lines
398 B
Rust
use clap::{Parser,Subcommand};
|
|
|
|
mod encode;
|
|
|
|
#[derive(Parser)]
|
|
#[command(author,version,about,long_about=None)]
|
|
#[command(propagate_version=true)]
|
|
struct Cli{
|
|
#[command(subcommand)]
|
|
command:Commands,
|
|
}
|
|
|
|
#[derive(Subcommand)]
|
|
enum Commands{
|
|
#[command(flatten)]
|
|
Encode(encode::Commands),
|
|
}
|
|
|
|
fn main(){
|
|
let cli=Cli::parse();
|
|
match cli.command{
|
|
Commands::Encode(commands)=>commands.run(),
|
|
}
|
|
}
|