Improve auth status
- Commit
9b7ecd1ee09821bf3c5c3b23b00acd6c7c2bf1bb- Author
- Kabir Oberai <[email protected]>
- When
- 2024-12-21 16:58 UTC (1 year ago)
- Parents
fbf021f
Diff
Sources/SupersignCLISupport/AuthCommand.swift
diff --git a/Sources/SupersignCLISupport/AuthCommand.swift b/Sources/SupersignCLISupport/AuthCommand.swiftindex 5b9439e..8ad5b58 100644--- a/Sources/SupersignCLISupport/AuthCommand.swift+++ b/Sources/SupersignCLISupport/AuthCommand.swift@@ -137,7 +137,12 @@ struct AuthStatusCommand: AsyncParsableCommand { func run() async throws { if let token = try? AuthToken.saved() {- print("Logged in: \(token.appleID)")+ print("""+ Logged in. + - Apple ID: \(token.appleID)+ - Team ID: \(token.teamID.rawValue)+ - Token expiry: \(token.expiry.formatted(.dateTime))+ """) } else { print("Logged out") }