We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5642ce commit e1f6555Copy full SHA for e1f6555
day25/src/day25.swift
@@ -0,0 +1,10 @@
1
+import Foundation
2
+
3
+let args = CommandLine.arguments
4
+if args.count == 1 {
5
+ print("Usage: \(args[0]) <path to input>")
6
+ exit(1)
7
+}
8
9
+let rawInput = try String(contentsOfFile: args[1], encoding: .utf8)
10
+print("Input: \(rawInput)")
0 commit comments