+ print(Lyricli.version)
+ exit(0)
+ }
+ }
+
+ if let listSourcesFlag = flags["listSources"] as? BoolOption {
+ if listSourcesFlag.value == true {
+ Lyricli.printSources()
+ exit(0)
+ }
+ }
+
+ if let enableSourceFlag = flags["enableSource"] as? StringOption {
+ if let source = enableSourceFlag.value {
+ Lyricli.enableSource(source)
+ exit(0)
+ }
+ }
+
+ if let disableSourceFlag = flags["disableSource"] as? StringOption {
+ if let source = disableSourceFlag.value {
+ Lyricli.disableSource(source)
+ exit(0)
+ }
+ }
+
+ if let resetSourceFlag = flags["resetSource"] as? StringOption {
+ if let source = resetSourceFlag.value {
+ Lyricli.resetSource(source)
+ exit(0)
+ }
+ }
+
+ if let titleFlag = flags["title"] as? BoolOption {
+ if titleFlag.value == true {
+ Lyricli.printTitle()
+ }