Glab Snippet

Use when working with glab snippet commands.

kbarbel640-del Updated 1 repo stars

File contents

glab snippet

Overview


  Create, view and manage snippets.                                                                                     
         
  USAGE  
         
    glab snippet <command> [command] [--flags]                                 
            
  EXAMPLES  
            
    $ glab snippet create --title "Title of the snippet" --filename "main.go"  
            
  COMMANDS  
            
    create  -t <title> <file1>                                        [<file2>...] [--flags]  Create a new snippet.
    glab snippet create  -t <title> -f <filename>  # reads from stdin                                              
         
  FLAGS  
         
    -h --help                                                                                 Show help for this command.
    -R --repo                                                                                 Select another repository. Can use either `OWNER/REPO` or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.

Quick start

glab snippet --help

Subcommands

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

kbarbel640-del/skills/tree/main/skills/vince-winkintel/gitlab-ci-skills/glab-snippet commit 19737bedb1

Frequently asked questions

npx skillmds@latest add kbarbel640-del/glab-snippet