Skip to content

RFE: token_command feature #457

@ktdreyer

Description

@ktdreyer

What do you think about adding a token_command feature? I've already logged into the glab CLI like this:

glab auth login

which stores my personal access token in ~/.config/glab-cli/config.yml (Linux) or ~/Library/Application Support/glab-cli/config.yml (macOS). I use it with the glab CLI, or I can get the token string like so:

[gitlab.com]
type = gitlab
url = https://gitlab.com/
token_command = glab config get --host gitlab.com token
																			
[gitlab.cee.redhat.com]
type = gitlab
url = https://gitlab.cee.redhat.com/
token_command = glab config get --host gitlab.cee.redhat.com token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions