public CompletionResult GetCompletion(IConsoleShell shell, string[] args) { var durOpts = new CompletionOption[] { new("0", Loc.GetString("cmd-roleban-hint-duration-1")), new("1440", Loc.GetString("cmd-roleban-hint-duration-2")), new("10080", Loc.GetString("cmd-roleban-hint-duration-3")), }; return(args.Length switch { 1 => CompletionResult.FromHintOptions(CompletionHelper.SessionNames(), Loc.GetString("cmd-roleban-hint-1")), 2 => CompletionResult.FromHintOptions(CompletionHelper.PrototypeIDs <JobPrototype>(), Loc.GetString("cmd-roleban-hint-2")), 3 => CompletionResult.FromHint(Loc.GetString("cmd-roleban-hint-3")), 4 => CompletionResult.FromHintOptions(durOpts, Loc.GetString("cmd-roleban-hint-4")), _ => CompletionResult.Empty });