diff --git a/sandpolis-mobile/src/lib.rs b/sandpolis-mobile/src/lib.rs index 6581b98ea..d818ba939 100644 --- a/sandpolis-mobile/src/lib.rs +++ b/sandpolis-mobile/src/lib.rs @@ -1,7 +1,20 @@ use bevy::prelude::bevy_main; -use sandpolis::CommandLine; +use sandpolis::{agent::AgentCommandLine, client::ClientCommandLine, CommandLine}; #[bevy_main] fn main() { - sandpolis::client::main(CommandLine::default()); + sandpolis::client::main(CommandLine { + // server_args: todo!(), + client_args: ClientCommandLine {}, + agent_args: AgentCommandLine { + read_only: false, + poll: None, + agent_socket: "/tmp".into(), + }, + server: None, + certificate: None, + debug: false, + trace: false, + storage: "/tmp".into(), + }); } diff --git a/sandpolis/src/server/mod.rs b/sandpolis/src/server/mod.rs index c3f2249d5..e04d4f212 100644 --- a/sandpolis/src/server/mod.rs +++ b/sandpolis/src/server/mod.rs @@ -58,6 +58,7 @@ pub struct ServerCommandLine { #[clap(long)] pub create_user: bool, + // TODO move to CommandLine #[command(subcommand)] command: Option, }