mcpField
G
glab-alias

glab-alias

github.com/vince-winkintelDevelopment4999 installsUpdated 1d ago
Repository

About glab-alias

A skill documenting glab alias commands for creating, listing, and deleting aliases. It highlights argument handling and cautions that explicit shell aliases execute code.

Key features

  1. 01Create, list, and delete aliases
  2. 02Preserve argument boundaries when invoking aliases
  3. 03Show complete long alias expansions

Use cases

  1. 01Review an alias's full expansion before use
  2. 02Keep quoted whitespace intact in alias arguments

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/vince-winkintel/gitlab-cli-skills --skill glab-alias

After installing, type/glab-aliasin Claude Code to confirm it loaded.

Bundled filesreferences/commands.md

Details

From the project README

glab alias

Argument boundaries

Arguments supplied to an alias are passed through without reconstructing them as a shell-joined string. Keep each intended argument quoted at the calling shell; quoted whitespace and special characters remain part of that argument. Explicit shell aliases still execute shell code and require review before use.

Overview


  Create, list, and delete aliases.                                                                                     
         
  USAGE  
         
    glab alias [command] [--flags]  
            
  COMMANDS  
            
    delete <alias name> [--flags]           Delete an alias.
    list [--flags]                          List the available aliases.
    set <alias name> '<command>' [--flags]  Set an alias for a longer command.
         
  FLAGS  
         
    -h --help                               Show help for this command.

Quick start

glab alias --help
glab alias list

glab alias list wraps long rows instead of truncating expansions at a fixed column width, so the complete stored command remains visible. Treat shell aliases as executable code and review the full expansion before running an unfamiliar alias.

Subcommands

See references/commands.md for full --help output.

Comments

Markdown supported