// SPDX-License-Identifier: GPL-3.0-or-later use clap::Parser; use molotov_cli::commands::Cli; #[test] fn test_cli_parse_launch_place() { let parsed = Cli::try_parse_from(["molotov", "launch", "--place-id", "1818"]); assert!(parsed.is_ok()); } #[test] fn test_cli_parse_region_flag() { let parsed = Cli::try_parse_from(["molotov", "launch", "--region", "eu"]); assert!(parsed.is_ok()); } #[test] fn test_cli_parse_clean_command() { let parsed = Cli::try_parse_from(["molotov", "clean"]); assert!(parsed.is_ok()); }