glab (GitLab CLI)
GitLab's official command-line tool for issues, merge requests and releases.
Usage
{
"features": {
"ghcr.io/hansehart/devcontainer-features/glab:1": {}
}
}Version 1.0.0, see the changelog for what changed.
Options
| Option | Default | Description |
|---|---|---|
version | latest | Channel (latest), a release line (major or major.minor), or an exact version (major.minor.patch). |
stateDir | If set, puts this feature's data at this path, which must be inside the remote user's home. Mount a volume there to persist it across rebuilds. |
Customizations
Open Secure Software Suite
The hosts the tool reaches:
| Host | Ports | Secret | For |
|---|---|---|---|
gitlab.com | 443 | GITLAB_TOKEN | Sign-in and the REST and GraphQL APIs |
The variables that set its defaults:
| Variable | Value | For |
|---|---|---|
GLAB_SEND_TELEMETRY | false | With false, telemetry stays off |
GLAB_CHECK_UPDATE | false | With false, the daily release check stays off |
GLAB_CONFIG_DIR | ${stateDir} | glab's config and sign-in in the state dir |