Integrated the InitGitInFolderTask task into the CreateCommand command in the executable target.

This commit is contained in:
2025-01-18 20:34:12 +01:00
parent 1fcbc38253
commit c7a1258273
2 changed files with 8 additions and 6 deletions
@@ -23,6 +23,7 @@ extension Colibri {
let copyFiles = CopyFilesTask(fileService: fileService)
let createFolders = CreateFoldersTask(fileService: fileService)
let createRootFolder = CreateRootFolderTask(fileService: fileService)
let initGitInFolder = InitGitInFolderTask()
let rootFolder = try await createRootFolder(
name: options.name,
@@ -31,6 +32,7 @@ extension Colibri {
try await createFolders(at: rootFolder)
try await copyFiles(to: rootFolder)
try await initGitInFolder(at: rootFolder)
}
}