Exemple #1
0
                protected override async Task <int> OnExecuteTorrentSpecificAsync(QBittorrentClient client, CommandLineApplication app, IConsole console)
                {
                    var trackers = await client.GetTorrentTrackersAsync(Hash);

                    var viewModels = trackers.Where(t => Sticky || t.Url.IsAbsoluteUri).Select(t => new TorrentTrackerViewModel(t));

                    Print(viewModels, true);
                    return(ExitCodes.Success);
                }