summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/cli.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-02-06 21:09:12 -0600
committerLibravatar bigfoot547 <[email protected]>2025-02-06 21:09:12 -0600
commitd1ac6d7263c78538414f0c944b8f6ca50a8c286e (patch)
tree7609b379ed02da76c902033973ce12f98d06db03 /ozone-cli/src/cli.rs
parentsmall cli changes (diff)
wip: some changes
Diffstat (limited to 'ozone-cli/src/cli.rs')
-rw-r--r--ozone-cli/src/cli.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/ozone-cli/src/cli.rs b/ozone-cli/src/cli.rs
index 407ee50..281a996 100644
--- a/ozone-cli/src/cli.rs
+++ b/ozone-cli/src/cli.rs
@@ -16,7 +16,16 @@ pub struct ProfileCreateArgs {
/// Clone profile information from an existing profile.
#[arg(long, short = 'c')]
- pub clone: String
+ pub clone: Option<String>,
+
+ /// The Minecraft version to be launched by this profile. Will use the latest release by default.
+ #[arg(long, short = 'v')]
+ pub version: Option<String>,
+
+ /// The instance in which this profile will launch the game. By default, will create a new instance
+ /// with the same name as this profile.
+ #[arg(long, short = 'i')]
+ pub instance: Option<String>
}
#[derive(Subcommand, Debug)]