Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gen-docs
command
|
|
|
glab
command
|
|
|
internal
|
|
|
api
This is a silly wrapper for gitlab client-go but helps maintain consistency
|
This is a silly wrapper for gitlab client-go but helps maintain consistency |
|
api/artifactregistry
Package artifactregistry provides a client for exchanging a GitLab session token for a short-lived GitLab Artifact Registry access token via the POST /api/v4/token_exchange endpoint.
|
Package artifactregistry provides a client for exchanging a GitLab session token for a short-lived GitLab Artifact Registry access token via the POST /api/v4/token_exchange endpoint. |
|
binarymgr
Package binarymgr provides a reusable lifecycle for managed CLI binaries distributed through a GitLab project's Generic Package Registry.
|
Package binarymgr provides a reusable lifecycle for managed CLI binaries distributed through a GitLab project's Generic Package Registry. |
|
cmdutils
This file implements URL parsing for GitLab resources to allow commands to accept full GitLab URLs instead of just resource IDs.
|
This file implements URL parsing for GitLab resources to allow commands to accept full GitLab URLs instead of just resource IDs. |
|
commands/artifactregistry/gettoken
Package gettoken implements `glab artifact-registry get-token`, which exchanges the caller's GitLab credential for a short-lived GitLab Artifact Registry access token.
|
Package gettoken implements `glab artifact-registry get-token`, which exchanges the caller's GitLab credential for a short-lived GitLab Artifact Registry access token. |
|
commands/artifactregistry/status
Package status implements `glab artifact-registry status`, which reports the caller's access to the GitLab Artifact Registry by exchanging their GitLab session for a short-lived access token and inspecting its claims.
|
Package status implements `glab artifact-registry status`, which reports the caller's access to the GitLab Artifact Registry by exchanging their GitLab session for a short-lived access token and inspecting its claims. |
|
commands/auth/docker
Package docker provides commands that help configure a docker credential helper.
|
Package docker provides commands that help configure a docker credential helper. |
|
commands/ci/legacyci
This package contains the old `glab pipeline ci` command which has been deprecated in favour of the `glab ci` command.
|
This package contains the old `glab pipeline ci` command which has been deprecated in favour of the `glab ci` command. |
|
commands/mr/diff
adapted from https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/diff/diff.go
|
adapted from https://github.com/cli/cli/blob/trunk/pkg/cmd/pr/diff/diff.go |
|
commands/orbit/internal/orbiterr
Package orbiterr translates errors returned by the OrbitService into structured `*cmdutils.ExitError` values with Orbit-specific exit codes and human-readable troubleshooting messages.
|
Package orbiterr translates errors returned by the OrbitService into structured `*cmdutils.ExitError` values with Orbit-specific exit codes and human-readable troubleshooting messages. |
|
commands/orbit/setup
Package setup implements `glab orbit setup`, the guided onboarding for Orbit.
|
Package setup implements `glab orbit setup`, the guided onboarding for Orbit. |
|
commands/skills/bundled
Package bundled is the source for agent skills that ship inside the glab binary via go:embed.
|
Package bundled is the source for agent skills that ship inside the glab binary via go:embed. |
|
commands/skills/registry
Package registry is the aggregate skill registry — it stitches together every source of skills (bundled, remote) and exposes a single surface for `glab skills list` and `glab skills install` to consume.
|
Package registry is the aggregate skill registry — it stitches together every source of skills (bundled, remote) and exposes a single surface for `glab skills list` and `glab skills install` to consume. |
|
commands/skills/remote
Package remote is the source for agent skills hosted on gitlab.com and listed in this repo's curated registry.
|
Package remote is the source for agent skills hosted on gitlab.com and listed in this repo's curated registry. |
|
commands/skills/skill
Package skill defines the shared types used by every source of glab agent skills (bundled, remote, etc.).
|
Package skill defines the shared types used by every source of glab agent skills (bundled, remote, etc.). |
|
diff
Package diff parses unified diff text to build line mappings.
|
Package diff parses unified diff text to build line mappings. |
|
dockercredhelper
Package dockercredhelper wires glab into Docker as a credential helper: it installs the docker-credential-glab shim that Docker executes, and points Docker's config.json at that shim for a set of registry domains.
|
Package dockercredhelper wires glab into Docker as a credential helper: it installs the docker-credential-glab shim that Docker executes, and points Docker's config.json at that shim for a set of registry domains. |
|
fsx
Package fsx contains small filesystem helpers for callers that need a write to land at a forced permission mode, atomically where the platform allows it: a token-bearing file that must not stay world-readable, or an executable shim that must never be observed in a non-executable state.
|
Package fsx contains small filesystem helpers for callers that need a write to land at a forced permission mode, atomically where the platform allows it: a token-bearing file that must not stay world-readable, or an executable shim that must never be observed in a non-executable state. |
|
git/testing
Package testing is a generated GoMock package.
|
Package testing is a generated GoMock package. |
|
mcpannotations
Package mcpannotations defines constants for MCP command annotations
|
Package mcpannotations defines constants for MCP command annotations |
|
testing/artifactregistrytest
Package artifactregistrytest provides shared test helpers for internal/api/artifactregistry and the commands built on top of it, so their tests don't each redefine the same fake token_exchange server and fake JWT.
|
Package artifactregistrytest provides shared test helpers for internal/api/artifactregistry and the commands built on top of it, so their tests don't each redefine the same fake token_exchange server and fake JWT. |
|
testing/cmdtest
Package cmdtest is a generated GoMock package.
|
Package cmdtest is a generated GoMock package. |
|
testing/gittest
Package gittest is a generated GoMock package.
|
Package gittest is a generated GoMock package. |
|
scripts
|
|
|
skills/add-remote
command
Add (or update) a curated remote skill entry in internal/commands/skills/remote/registry.yaml.
|
Add (or update) a curated remote skill entry in internal/commands/skills/remote/registry.yaml. |
Click to show internal directories.
Click to hide internal directories.

