Summary
Every datumctl command runs as the active session, so reaching another account or environment means running datumctl auth switch first and switching back afterwards. Scripts, CI jobs and agents that touch production and staging in one run have to change shared state between commands, and anything running at the same time sees the switch too.
Scope already has per-command overrides through flags and environment variables, but the session does not.
Acceptance criteria
Summary
Every datumctl command runs as the active session, so reaching another account or environment means running
datumctl auth switchfirst and switching back afterwards. Scripts, CI jobs and agents that touch production and staging in one run have to change shared state between commands, and anything running at the same time sees the switch too.Scope already has per-command overrides through flags and environment variables, but the session does not.
Acceptance criteria