]> git.r.bdr.sh - rbdr/lyricli/blobdiff - Sources/Lyricli.swift
Add the arguments source
[rbdr/lyricli] / Sources / Lyricli.swift
index 669dac970a4c6e9f7bc65708e14e316060906bd7..d55b500af960bb8b39c5c571ea78fbe91bec4aff 100644 (file)
@@ -1,3 +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")
+    }
 }