Skip to content

Commit

Permalink
Add help command for standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 committed Jun 19, 2024
1 parent 00ce8b3 commit 7013745
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,15 @@ protected void runCommand(String command) {
default -> warn("Unknown accounts command: " + args[1]);
}
}
case "help" -> {
info("Available commands:");
info("exit - Exit the application");
info("restart - Restart the application");
info("dumpsession - Dump the current session to json files");
info("accounts list - List sub-accounts");
info("accounts add <sub-session-id> - Add a sub-account");
info("accounts remove <sub-session-id> - Remove a sub-account");
}
default -> warn("Unknown command: " + commandNode);
}
} catch (Exception e) {
Expand Down

0 comments on commit 7013745

Please sign in to comment.