summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/cli.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-02-18 18:09:22 -0600
committerLibravatar bigfoot547 <[email protected]>2025-02-18 18:09:22 -0600
commit9eb57f818d9f3efce11d54e1b117ff3daca59341 (patch)
tree3f535ad93da5cfdb37c18cf7c8292935dfa3d53e /ozone-cli/src/cli.rs
parentlaunch the game with an account (diff)
add demo flag
Diffstat (limited to 'ozone-cli/src/cli.rs')
-rw-r--r--ozone-cli/src/cli.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/ozone-cli/src/cli.rs b/ozone-cli/src/cli.rs
index 8ed2f33..f94a912 100644
--- a/ozone-cli/src/cli.rs
+++ b/ozone-cli/src/cli.rs
@@ -211,6 +211,12 @@ pub struct AccountArgs {
pub command: AccountCommand
}
+#[derive(Args, Debug)]
+pub struct LaunchArgs {
+ #[arg(long)]
+ pub demo: bool
+}
+
#[derive(Subcommand, Debug)]
pub enum RootCommand {
/// Manages instances.
@@ -224,7 +230,7 @@ pub enum RootCommand {
Account(AccountArgs),
/// Launches the selected instance with the selected account.
- Launch
+ Launch(LaunchArgs)
}
#[derive(Parser, Debug)]