1glab(1)                                                                glab(1)
2
3
4

NAME

6       glab-snippet-create - Create new snippet
7
8
9

SYNOPSIS

11       glab snippet create [path] [flags]
12
13
14

DESCRIPTION

16       Create new snippet
17
18
19

OPTIONS

21       -d, --description=""      Description of the snippet
22
23
24       -f, --filename=""      Filename of the snippet in GitLab
25
26
27       -t, --title=""      Title of the snippet
28
29
30       -v,  --visibility="private"      Limit by visibility {public, internal,
31       or private}
32
33
34

OPTIONS INHERITED FROM PARENT COMMANDS

36       --help[=false]      Show help for command
37
38
39       -R, --repo=""      Select another repository using  the  OWNER/REPO  or
40       GROUP/NAMESPACE/REPO format or full URL or git URL
41
42
43

EXAMPLE

45       glab snippet create script.py --title "Title of the snippet"
46       echo "package main" | glab snippet new --title "Title of the snippet" --filename "main.go"
47       glab snippet create main.go -t Title -f "different.go" -d Description
48
49
50
51
52

SEE ALSO

54       glab-snippet(1)
55
56
57
58Auto generated by spf13/cobra      Nov 2023                            glab(1)
Impressum