8 Commands für Authentifizierung, Customer-Context-Wechsel, Erst-Setup und CLI-Preferences.
Commands
| Command | Alias | Zweck |
|---|---|---|
| login | auth |
Browser-Login via auth.ayoune.app |
| logout | signout |
Abmelden, Token löschen |
| whoami | who |
Aktueller User + Customer |
| switch | sw |
Multi-Tenant-Context-Switcher |
| context | ctx |
Aktiven Entity-Context verwalten |
| setup | — | First-Run-Wizard |
| config | — | CLI-Preferences (~/.config/ayoune/config.json) |
| alias | — | Custom Command-Aliase |
Typische Workflow
ay setup # Einmalig
ay login # Bei Session-Start
ay whoami # Bestätigen
ay switch customer tolinax # In anderen Tenant wechseln
ay list consumers # Arbeiten
ay logout # Session beenden (optional)