DefaultKitSetupService
struct DefaultKitSetupService
The DefaultKitSetupService
-
The Git URL
Declaration
Swift
let gitURL: String
-
The GitBranch
Declaration
Swift
let gitBranch: GitBranch
-
The FileManager
Declaration
Swift
let fileManager: FileManager
-
The GitService
Declaration
Swift
let gitService: GitService
-
Designated Initializer
Declaration
Swift
init(gitURL: String, gitBranch: GitBranch = .master, fileManager: FileManager = .default, gitService: GitService)
Parameters
gitURL
The Git URL
gitBranch
The GitBranch. Default value
.master
fileManager
The FileManager. Default value
.default
gitService
The GitService
-
Setup Kit at Directory
Throws
If setup failsDeclaration
Swift
func setup(with arguments: KitCreationArguments, at kitDirectory: Kit.Directory) throws
Parameters
arguments
The KitCreation Arguments
kitDirectory
The Kit Directory