mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
20 lines
513 B
C#
20 lines
513 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using CommandLine;
|
|
using Wabbajack.Lib.FileUploader;
|
|
|
|
namespace Wabbajack.CLI.Verbs
|
|
{
|
|
[Verb("my-files", HelpText = "List files I have uploaded to the CDN (requires Author API key)")]
|
|
public class MyFiles : AVerb
|
|
{
|
|
protected override async Task<ExitCode> Run()
|
|
{
|
|
var files = await AuthorAPI.GetMyFiles();
|
|
foreach (var file in files)
|
|
Console.WriteLine(file);
|
|
return 0;
|
|
}
|
|
}
|
|
}
|