Make `/status` and/or login account checkable from command line
I would like to be able to check the account I am logged into with Claude, from the command line. I can check it in an interactive session, with /status, but it doesn't appear possible to pass commands to claude, e.g. claude -p "/status"
I'm looking into this to be able to have a script double-check that I am logged into the correct Claude account / Claude Pro/Max Subscription, for the project I am working on, before starting Claude Code.
echo "/status" | claude -p does not seem to work either.
i'm trying to do what this person is doing https://github.com/anthropics/claude-code/issues/1407#issuecomment-2995805615
but like that's a really deranged workaround lol...
Any news here? Working with different Claude Subscription Accounts, too. Sure, this little but practical feature could be implemented easily by the Anthropic Team ...
I'm also interested in this