Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Set exit code for auth check #55

@james64

Description

@james64

This is a feature request. It would be nice if passbolt auth check exited with non-zero status if not logged in. I admit it's kind of arbitrary to call "logged in" successful. However it would help with writting scripts.

I have a script around passbolt find | fqf and I want to check that I am logged in before I run that. Doing [[ "$( passbolt auth check)" != "You are already logged in." ]] feels fragile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions