 import Foundation
 
 enum GenerationError: Error {
+    case noAWSSDKSwiftCoreVersion
     case directoryLocation(String)
 }
+
+if CommandLine.arguments.count <= 1 {
+    throw GenerationError.noAWSSDKSwiftCoreVersion
+}
+let awsSdkSwiftCoreVersion = CommandLine.arguments[1]
 
 let manager = FileManager.default
 

print("""
          ],
          dependencies: [
              .package(url: "https://github.com/swift-aws/aws-sdk-swift-core.git", .upToNextMinor(from: "4.1.0"))
          ],
          targets: [
      """)

          ]
      )
      """)
