You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
512 B
30 lines
512 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
|
|
|
namespace GitCommands
|
|
{
|
|
public class InitDto
|
|
{
|
|
public string Result { get; set; }
|
|
|
|
public InitDto()
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Init
|
|
{
|
|
public InitDto Dto { get; set; }
|
|
public Init(InitDto dto)
|
|
{
|
|
this.Dto = dto;
|
|
}
|
|
|
|
public void Execute()
|
|
{
|
|
Dto.Result = GitCommandHelpers.RunCmd(Settings.GitCommand, "init");
|
|
}
|
|
}
|
|
}
|