DefaultKitSetupService

struct DefaultKitSetupService

The DefaultKitSetupService

  • 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 fails

    Declaration

    Swift

    func setup(with arguments: KitCreationArguments, at kitDirectory: Kit.Directory) throws

    Parameters

    arguments

    The KitCreation Arguments

    kitDirectory

    The Kit Directory