PKGCTL-AUTH-LOGIN(1)   PKGCTL-AUTH-LOGIN(1)

pkgctl-auth-login - Authenticate with the GitLab instance

pkgctl auth login [OPTIONS]

Interactively authenticate with the GitLab instance.

The minimum required scopes for the token are: api, write_repository.

The GitLab API token can either be stored in a plaintext file in $XDG_CONFIG_HOME/devtools/gitlab.conf, or supplied via the DEVTOOLS_GITLAB_TOKEN environment variable using any command (gpg, vault, password manager) by declaring a shell alias:

$ alias pkgctl='DEVTOOLS_GITLAB_TOKEN="$(command to obtain token)" pkgctl'

-g, --gen-access-token

Open the URL to generate a new personal access token

-h, --help

Show a help text

pkgctl-auth-status(1)

https://gitlab.archlinux.org/archlinux/devtools

Please report bugs and feature requests in the issue tracker. Please do your best to provide a reproducible test case for bugs.

02/14/2024