diff --git a/Sources/Executable/Commands/CreateCommand.swift b/Sources/Executable/Commands/CreateCommand.swift index 556fcb7..12d62a4 100644 --- a/Sources/Executable/Commands/CreateCommand.swift +++ b/Sources/Executable/Commands/CreateCommand.swift @@ -12,7 +12,7 @@ extension Colibri { helpNames: .shortAndLong, aliases: ["create"] ) - + @OptionGroup var options: Options // MARK: Functions @@ -20,13 +20,14 @@ extension Colibri { mutating func run() async throws { let fileService = FileService() let createRootFolder = CreateRootFolderTask(fileService: fileService) + let createFolders = CreateFoldersTask(fileService: fileService) let rootFolder = try await createRootFolder( name: options.name, at: options.locationURL ) - - print(rootFolder) + + try await createFolders(at: rootFolder) } }