30 lines · 540 B · Swift
RawDownload
import Foundation public enum KiloUsageDataSource: String, CaseIterable, Identifiable, Sendable {    case auto    case api    case cli     public var id: String {        self.rawValue    }     public var displayName: String {        switch self {        case .auto: "Auto"        case .api: "API"        case .cli: "CLI"        }    }     public var sourceLabel: String {        switch self {        case .auto:            "auto"        case .api:            "api"        case .cli:            "cli"        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t