]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Sources/lyricli.swift
It's lowercase now!
[rbdr/lyricli] / Sources / lyricli.swift
diff --git a/Sources/lyricli.swift b/Sources/lyricli.swift
new file mode 100644 (file)
index 0000000..d55b500
--- /dev/null
@@ -0,0 +1,37 @@
+/// The main Lyricli interface
+public class Lyricli {
+    public static var version = "0.0.0-feature/option-parsing"
+
+    public static func printLyrics() {
+
+        let sourceManager = SourceManager()
+
+        if let currentTrack = sourceManager.currentTrack {
+            print(currentTrack.artist)
+            print(currentTrack.name)
+        }
+        else {
+            print("Current track not found")
+        }
+    }
+
+    public static func printTitle() {
+        print("Getting Song Title: Not yet implemented")
+    }
+
+    public static func printSources() {
+        print("Listing Sources: Not yet implemented")
+    }
+
+    public static func enableSource(_ sourceName: String) {
+        print("Enable source \(sourceName): Not yet implemented")
+    }
+
+    public static func disableSource(_ sourceName: String) {
+        print("Disable source \(sourceName): Not yet implemented")
+    }
+
+    public static func resetSource(_ sourceName: String) {
+        print("Reset source \(sourceName): Not yet implemented")
+    }
+}