14 lines
279 B
Swift
14 lines
279 B
Swift
|
// CustomTypes.swift
|
||
|
|
||
|
import ArgumentParser
|
||
|
|
||
|
enum MediaType: String, ExpressibleByArgument {
|
||
|
case book, movie, season, series, playlist, album, artist
|
||
|
}
|
||
|
|
||
|
extension MediaType: CustomStringConvertible {
|
||
|
var description: String {
|
||
|
return rawValue.capitalized
|
||
|
}
|
||
|
}
|