Sha256: fed02bfb6b329ae9988c3286357331bdf518a7c9d41b76089903f21f8eec0318
Contents?: true
Size: 613 Bytes
Versions: 22
Compression:
Stored size: 613 Bytes
Contents
// import Foundation // struct CopyDir: Script { // var usage: String { // return "Usage: swift CopyDir.swift <DIR1> <DIR2>" // } // var expectedNumberOfArguments = 2 // func run(arguments arguments: [String]) { // let dir1 = arguments[0] // let dir2 = arguments[1] // } // func copyDir(dir1: String, dir2: String) { // let sourcePath = "XCFit_Template/" // let destinationPath = "~/Library/Developer/Xcode/Templates/" // shell(launchPath: "/bin/cp", arguments: ["-rf", sourcePath, destinationPath) // } // } // CopyDir().run()
Version data entries
22 entries across 16 versions & 1 rubygems
Version | Path |
---|---|
xcfit-0.4.0 | XCFit/Classes/CopyDir.swift |
xcfit-0.4.0 | XCFitDemo/Pods/XCFit/XCFit/Classes/CopyDir.swift |