(accountId: string)
| 77 | } |
| 78 | |
| 79 | export async function removeAccount(accountId: string): Promise<void> { |
| 80 | console.log(`Removing Qwen account with ID: ${accountId}...`); |
| 81 | try { |
| 82 | const authManager = new QwenAuthManager(); |
| 83 | await authManager.removeAccount(accountId); |
| 84 | console.log(`\n✅ Account ${accountId} removed successfully!`); |
| 85 | } catch (error: any) { |
| 86 | console.error("Failed to remove account:", error.message); |
| 87 | process.exit(1); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | export async function checkRequestCounts(): Promise<void> { |
| 92 | console.log("Checking request counts for all accounts..."); |
no test coverage detected