]>
Commit | Line | Data |
---|---|---|
1 | /// The main Lyricli interface | |
2 | public class Lyricli { | |
3 | public static var version = "0.0.0-feature/option-parsing" | |
4 | ||
5 | public static func printLyrics() { | |
6 | ||
7 | let sourceManager = SourceManager() | |
8 | ||
9 | if let currentTrack = sourceManager.currentTrack { | |
10 | print(currentTrack.artist) | |
11 | print(currentTrack.name) | |
12 | } | |
13 | else { | |
14 | print("Current track not found") | |
15 | } | |
16 | } | |
17 | ||
18 | public static func printTitle() { | |
19 | print("Getting Song Title: Not yet implemented") | |
20 | } | |
21 | ||
22 | public static func printSources() { | |
23 | print("Listing Sources: Not yet implemented") | |
24 | } | |
25 | ||
26 | public static func enableSource(_ sourceName: String) { | |
27 | print("Enable source \(sourceName): Not yet implemented") | |
28 | } | |
29 | ||
30 | public static func disableSource(_ sourceName: String) { | |
31 | print("Disable source \(sourceName): Not yet implemented") | |
32 | } | |
33 | ||
34 | public static func resetSource(_ sourceName: String) { | |
35 | print("Reset source \(sourceName): Not yet implemented") | |
36 | } | |
37 | } |