No description
Find a file
2026-08-03 12:58:21 +02:00
src/projeqtor saml auth 2026-08-03 12:58:21 +02:00
.gitignore maybe auth and issue list 2026-08-02 20:47:34 +02:00
config.example.yaml saml auth 2026-08-03 12:58:21 +02:00
pyproject.toml saml auth 2026-08-03 12:58:21 +02:00
README.md saml auth 2026-08-03 12:58:21 +02:00

ProjeQtOr CLI

Small, read-only CLI for listing and viewing tickets assigned to the signed-in ProjeQtOr resource.

Install

python -m venv .venv
. .venv/bin/activate
pip install -e '.[test]'

Copy config.example.yaml to ~/.config/projeqtor/config.yaml and set the ProjeQtOr installation URL. SAML and identity-provider settings remain configured in ProjeQtOr; they are not duplicated in the CLI.

YAML is provided by the PyYAML dependency; it is not part of Python's standard library.

Usage

projeqtor auth login
projeqtor auth status
projeqtor tickets list
projeqtor tickets list --all --json
projeqtor tickets show 345
projeqtor tickets open 345
projeqtor auth logout

Environment variables override YAML values. Command-line configuration overrides both:

PROJEQTOR_CONFIG
PROJEQTOR_URL
PROJEQTOR_AUTH_CACHE
PROJEQTOR_RESOURCE_ID
PROJEQTOR_TIMEOUT

projeqtor auth login opens the ProjeQtOr SAML login in the system browser and listens on a loopback callback. The resulting API credential is stored in the OS keyring, never in YAML. The ProjeQtOr SAML ACS/API gateway must support the cli_callback, state, and returned credential hand-off. A normal browser session cookie cannot be used by the CLI process. The CLI remains read-only.