Ratul SarnaFormat Swift sources14662849 months agoHistory
34 lines · 651 B · Swift
RawDownload
import Foundation public enum ClaudeUsageDataSource: String, CaseIterable, Identifiable, Sendable {    case auto    case oauth    case web    case cli     public var id: String {        self.rawValue    }     public var displayName: String {        switch self {        case .auto: "Auto"        case .oauth: "OAuth API"        case .web: "Web API (cookies)"        case .cli: "CLI (PTY)"        }    }     public var sourceLabel: String {        switch self {        case .auto:            "auto"        case .oauth:            "oauth"        case .web:            "web"        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