| 1 | import { type ActionArgs, type Command } from '../../cli'; |
| 2 | |
| 3 | export class CommandAuthLogout implements Command { |
| 4 | group = 'auth'; |
| 5 | name = 'logout'; |
| 6 | help = 'Signs out and clears local credentials and caches.'; |
| 7 | isAuthAction = true; |
| 8 | |
| 9 | async action({ auth, clearCaches }: ActionArgs) { |
| 10 | await auth.logout(); |
| 11 | await clearCaches(); |
| 12 | } |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected