Skip to content

divbase-cli auth

Login/logout of DivBase server. To register, visit https://divbase.scilifelab-2-prod.sys.kth.se.

Usage:

$ divbase-cli auth [OPTIONS] COMMAND [ARGS]...

Options:

  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.

Commands:

  • login: Log in to the DivBase server.
  • logout: Log out of the DivBase server.
  • whoami: Return information about the currently...

divbase-cli auth login

Log in to the DivBase server.

You'll be prompted for your password after running the command.

Usage:

$ divbase-cli auth login [OPTIONS] EMAIL

Arguments:

  • EMAIL: [required]

Options:

  • --divbase-url TEXT: DivBase server URL to connect to. [default: https://divbase.scilifelab-2-prod.sys.kth.se/api]
  • -f, --force: Force login again even if already logged in
  • --help: Show this message and exit.

divbase-cli auth logout

Log out of the DivBase server.

Usage:

$ divbase-cli auth logout [OPTIONS]

Options:

  • --help: Show this message and exit.

divbase-cli auth whoami

Return information about the currently logged-in user.

Usage:

$ divbase-cli auth whoami [OPTIONS]

Options:

  • --help: Show this message and exit.