LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

glab-alias

Manage command aliases for GitLab CLI

TLDR

List aliases
$ glab alias list
copy
Set alias
$ glab alias set [name] "[command]"
copy
Delete alias
$ glab alias delete [name]
copy
Set an alias that expands through a shell
$ glab alias set [name] --shell "[command]"
copy

SYNOPSIS

glab alias command [options]

DESCRIPTION

glab alias manages command aliases for the GitLab CLI. It allows creating shortcuts for frequently used glab commands, making common workflows faster to execute.Aliases are stored in the glab configuration file and can reference any valid glab command with arguments, or, with --shell, an arbitrary shell command.

PARAMETERS

-s, --shell

Interpret the alias expansion as a shell command instead of a glab command, allowing pipes (`|`) and redirects (`>`). Use `$1`, `$2`, ... to reference passed arguments and `$@` for all of them.

SUBCOMMANDS

list

List aliases.
set name expansion
Create an alias for a glab command, or for an external command with --shell.
delete name
Remove an alias.

SEE ALSO

glab(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid