gitlab-token-expiration

command module
v0.0.0-...-2c45175 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 1 Imported by: 0

README

GitHub release Go Report Card GitHub Downloads Test Coverage GoDoc Linter Release Snapshot License

gitlab-token-expiration

This tool lists all sort of expirable tokens of gitlab projects, gitlab groups and the gitlab personal access token. The purpose of this tool is to give an overview of the expiration date of the tokens.

Getting started

Example:

$ export GITLAB_TOKEN=yourtoken
# export GITLAB_URI=https://your-instance-of-gitlab.com  # optional if you are using another gitlab instance
$ gitlab-token-expiration -h

Development

This project is using :

Use task to compile/create release...

$ task
task: [default] task -a
task: Available tasks for this project:
* build:            Build the binary
* default:          List tasks
* doc:              Start godoc server
* release:          Create a release
* snapshot:         Create a snapshot release

Installation

From releases

Download the latest release from the release page and install it in your PATH.

Homebrew
brew tap sgaunet/homebrew-tools
brew install sgaunet/tools/gitlab-token-expiration

Documentation

Overview

Package main is the entry point for the GitLab token expiration CLI tool.

Directories

Path Synopsis
Package cmd contains the command-line interface for the GitLab token expiration tool.
Package cmd contains the command-line interface for the GitLab token expiration tool.
pkg
app
Package app contains the application logic for the GitLab token expiration tool.
Package app contains the application logic for the GitLab token expiration tool.
dto
Package dto contains data transfer objects for the GitLab token expiration tool.
Package dto contains data transfer objects for the GitLab token expiration tool.
logger
Package logger provides logging utilities for the GitLab token expiration tool.
Package logger provides logging utilities for the GitLab token expiration tool.
views
Package views provides rendering functionality for displaying token information.
Package views provides rendering functionality for displaying token information.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL