-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Describe the bug
We are using the infisical CLI within our internal CLI. infisical run works great, but we are constantly getting burnt by outdated sessions causing our commands to hang.
I'm okay with our command just exiting with an informative message if infisical is logged in: the problem is, it seems very hard or impossible to do. I've been trying to have our CLI call infisical user get token to check if there is a session. The problem is that if there is no session, it triggers an interactive login session which neither --silent nor --plain disable.
To Reproduce
Try to create a cross-platform script that can check if there is an active infisical session.
Expected behavior
A --non-interactive flag would be awesome.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels