refactor(http)!: get address from lua

This commit is contained in:
2025-03-10 18:58:14 -04:00
parent caec5fa7f8
commit 18540aa223
3 changed files with 7 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
use crate::build_info;
use clap::Parser;
use std::{net::SocketAddr, path::PathBuf};
use std::path::PathBuf;
/// A Minecraft utility bot
#[derive(Parser)]
@@ -9,8 +9,4 @@ pub struct Arguments {
/// Path to main Lua file
#[arg(short, long)]
pub script: Option<PathBuf>,
/// Socket address to bind HTTP server to
#[arg(short = 'a', long)]
pub http_address: Option<SocketAddr>,
}