diff --git a/src/help.txt b/src/help.txt deleted file mode 100644 index d247c88..0000000 --- a/src/help.txt +++ /dev/null @@ -1,37 +0,0 @@ -Usage: - boxedmino [...ARGUMENTS] - -Note: Running Boxedmino with commandline arguments will immediately - start the game without the Boxedmino UI. - - -/// ARGUMENTS /// - ---help Show this help message - ---run Run the game immediately without the Boxedmino UI. - ---sandboxed Trick the game into saving into a temporary folder - ---no-sandboxed Do not trick the game into saving elsewhere - ---clear-temp-dir Clear the temporary directory before - running the game - ---no-clear-temp-dir Do not clear the temporary directory - before running the game - ---import-save-on-play Try to transfer your main save into - the temporary folder - ---no-import-save-on-play Do not transfer your main save into - the temporary folder - ---repo-path Specify a repo path to run Techmino from - ---version Print the Boxedmino version and exit - ---list-versions Print a list of available Techmino versions. - Requires a repo path, either given through - the `--repo-path` argument, or preconfigured - using the GUI. \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index e5a010b..b2e27f5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,9 +80,9 @@ pub enum CliInstruction { pub static INSTRUCTION: OnceCell> = OnceCell::new(); fn main() -> Result<(), slint::PlatformError> { - INSTRUCTION.set(Cli::parse().command).unwrap(); // TODO: Parse command - print_intro(); + + INSTRUCTION.set(Cli::parse().command).unwrap(); // TODO: Parse command if let Err(missing_dependencies) = check_dependencies() { let mut message = "The following dependencies are missing:".to_string();