- final MutuallyExclusiveGroup avatarOptions = subparser.addMutuallyExclusiveGroup()
- .required(true);
- avatarOptions.addArgument("--avatar")
- .help("Path to new profile avatar");
- avatarOptions.addArgument("--remove-avatar")
- .action(Arguments.storeTrue());
-
- subparser.addArgument("--name")
- .required(true)
- .help("New profile name");
-
- subparser.help("Set a name and avatar image for the user profile");
+ subparser.help("Set a name, about and avatar image for the user profile");
+ subparser.addArgument("--given-name", "--name").help("New profile (given) name");
+ subparser.addArgument("--family-name").help("New profile family name (optional)");
+ subparser.addArgument("--about").help("New profile about text");
+ subparser.addArgument("--about-emoji").help("New profile about emoji");
+ subparser.addArgument("--mobile-coin-address", "--mobilecoin-address")
+ .help("New MobileCoin address (Base64 encoded public address)");
+
+ final var avatarOptions = subparser.addMutuallyExclusiveGroup();
+ avatarOptions.addArgument("--avatar").help("Path to new profile avatar");
+ avatarOptions.addArgument("--remove-avatar").action(Arguments.storeTrue());