public void Execute(ICollection <string> args) { cdPath = storageHelper.GetCdPath(); var dir = CreateRepositoryCatalog(); if (dir == null) { return; } var projName = repositoryHelper.ProcessProjectName(dir.FullName, args); storageHelper.AddProject(dir.FullName.Replace(subPath, ""), projName); repositoryHelper.CreateRepoStorage(dir.FullName, projName); commitCommand.Execute(new List <string>() { "init" }); }
public void Commit(ICollection <string> args) { commitCommand.Execute(args); }