Files
yavsc/cli/Commands/CiBuildCommand.cs
2018-08-05 04:16:21 +02:00

28 lines
726 B
C#

using cli.Model;
using Microsoft.Extensions.CommandLineUtils;
namespace cli
{
public class CiBuildCommand : ICommander
{
public CommandLineApplication Integrate(CommandLineApplication rootApp)
{
CommandLineApplication ciBuildApp = rootApp.Command("build",
(target) =>
{
target.FullName = "Build this project.";
target.Description = "Build this project, as specified in .paul-ci.json";
target.HelpOption("-? | -h | --help");
}, false);
ciBuildApp.OnExecute(()=>
{
return 0;
});
return ciBuildApp;
}
}
}