protected override async Task <int> OnExecuteAuthenticatedAsync(QBittorrentClient client, CommandLineApplication app, IConsole console) { if (Set != null) { await client.SetGlobalUploadLimitAsync(Set.Value); } else { var limit = await client.GetGlobalUploadLimitAsync(); PrintLimit(console, limit); } return(ExitCodes.Success); }