aboutsummaryrefslogtreecommitdiff
path: root/Sources/lyricli.swift
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2017-05-17 23:09:32 -0500
committerBen Beltran <ben@nsovocal.com>2017-05-17 23:09:32 -0500
commitcadf28c5831b225abf9da650127659c0b0bf6e39 (patch)
tree1512660a6c9deaa9adb9acc5566eaaaa5262780d /Sources/lyricli.swift
parenta02972c1c6bfcc3248276ce43a9b0e0b6a9ba05e (diff)
It's lowercase now!
Diffstat (limited to 'Sources/lyricli.swift')
-rw-r--r--Sources/lyricli.swift37
1 files changed, 37 insertions, 0 deletions
diff --git a/Sources/lyricli.swift b/Sources/lyricli.swift
new file mode 100644
index 0000000..d55b500
--- /dev/null
+++ b/Sources/lyricli.swift
@@ -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")
+ }
+}