()
| 208 | } |
| 209 | |
| 210 | function logoutCommand(): void { |
| 211 | trackEvent("command", { name: "logout" }); |
| 212 | if (clearTokens()) { |
| 213 | console.log(pc.green("Logged out successfully.")); |
| 214 | } else { |
| 215 | console.log(pc.yellow("You are not logged in.")); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | async function whoamiCommand(): Promise<void> { |
| 220 | trackEvent("command", { name: "whoami" }); |
no test coverage detected