mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
19 lines
500 B
C#
19 lines
500 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
using CommandLine;
|
|
using Wabbajack.Common;
|
|
using Wabbajack.Lib.FileUploader;
|
|
|
|
namespace Wabbajack.CLI.Verbs
|
|
{
|
|
[Verb("update-nexus-cache", HelpText = "Tell the build server to update the Nexus cache (requires Author API key)")]
|
|
public class UpdateNexusCache : AVerb
|
|
{
|
|
protected override async Task<int> Run()
|
|
{
|
|
CLIUtils.Log($"Job ID: {await AuthorAPI.UpdateNexusCache()}");
|
|
return 0;
|
|
}
|
|
}
|
|
}
|