From 7cd17777354f2fcbd3aafcd8eeb3c9db597c8869 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Thu, 16 Jan 2025 00:31:53 +0100 Subject: [PATCH] Moved the source files under the "CLI" folder in the executable target. --- Sources/Executable/{ => CLI}/Colibri.swift | 0 Sources/Executable/{ => CLI}/Commands/CreateCommand.swift | 3 ++- Sources/Executable/{ => CLI}/Options/CreateOptions.swift | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename Sources/Executable/{ => CLI}/Colibri.swift (100%) rename Sources/Executable/{ => CLI}/Commands/CreateCommand.swift (98%) rename Sources/Executable/{ => CLI}/Options/CreateOptions.swift (100%) diff --git a/Sources/Executable/Colibri.swift b/Sources/Executable/CLI/Colibri.swift similarity index 100% rename from Sources/Executable/Colibri.swift rename to Sources/Executable/CLI/Colibri.swift diff --git a/Sources/Executable/Commands/CreateCommand.swift b/Sources/Executable/CLI/Commands/CreateCommand.swift similarity index 98% rename from Sources/Executable/Commands/CreateCommand.swift rename to Sources/Executable/CLI/Commands/CreateCommand.swift index 12d62a4..f15cca4 100644 --- a/Sources/Executable/Commands/CreateCommand.swift +++ b/Sources/Executable/CLI/Commands/CreateCommand.swift @@ -19,8 +19,9 @@ extension Colibri { mutating func run() async throws { let fileService = FileService() - let createRootFolder = CreateRootFolderTask(fileService: fileService) + let createFolders = CreateFoldersTask(fileService: fileService) + let createRootFolder = CreateRootFolderTask(fileService: fileService) let rootFolder = try await createRootFolder( name: options.name, diff --git a/Sources/Executable/Options/CreateOptions.swift b/Sources/Executable/CLI/Options/CreateOptions.swift similarity index 100% rename from Sources/Executable/Options/CreateOptions.swift rename to Sources/Executable/CLI/Options/CreateOptions.swift