From beea99db3faea47dbd7c527da1d2f3151da3debe Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Wed, 12 Feb 2025 14:21:33 -0600 Subject: minecraft --- ozone-cli/src/cli.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ozone-cli/src/cli.rs') 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 @@ -160,6 +160,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 } -- cgit v1.2.3-70-g09d2