summaryrefslogtreecommitdiffstats
path: root/ozone-cli/src/cli.rs
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2025-02-12 14:21:33 -0600
committerLibravatar bigfoot547 <[email protected]>2025-02-12 14:21:33 -0600
commitbeea99db3faea47dbd7c527da1d2f3151da3debe (patch)
treeb65fd4db721f2917901c473f428d3bc857969416 /ozone-cli/src/cli.rs
parentunstupid some stuff (diff)
minecraft
Diffstat (limited to 'ozone-cli/src/cli.rs')
-rw-r--r--ozone-cli/src/cli.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/ozone-cli/src/cli.rs b/ozone-cli/src/cli.rs
index d145e89..15a00da 100644
--- a/ozone-cli/src/cli.rs
+++ b/ozone-cli/src/cli.rs
@@ -161,6 +161,19 @@ impl InstanceArgs {
}
#[derive(Subcommand, Debug)]
+pub enum AccountCommand {
+ Select,
+ Forget,
+ SignIn
+}
+
+#[derive(Args, Debug)]
+pub struct AccountArgs {
+ #[command(subcommand)]
+ pub command: AccountCommand
+}
+
+#[derive(Subcommand, Debug)]
pub enum RootCommand {
/// Manages instances.
///
@@ -169,6 +182,9 @@ pub enum RootCommand {
/// settings. Each instance runs the game in a separate directory.
Instance(InstanceArgs),
+ /// Manages accounts.
+ Account(AccountArgs),
+
/// Launches the selected instance with the selected account.
Launch
}