From cadf28c5831b225abf9da650127659c0b0bf6e39 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Wed, 17 May 2017 23:09:32 -0500 Subject: It's lowercase now! --- Sources/lor.swift | 37 ------------------------------------- Sources/lyricli.swift | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 Sources/lor.swift create mode 100644 Sources/lyricli.swift (limited to 'Sources') diff --git a/Sources/lor.swift b/Sources/lor.swift deleted file mode 100644 index d55b500..0000000 --- a/Sources/lor.swift +++ /dev/null @@ -1,37 +0,0 @@ -/// 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") - } -} 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") + } +} -- cgit