.nh .TH "glab" "1" "Sep 2026" "Auto generated by spf13/cobra" "" .SH NAME glab-snippet - Create, view and manage snippets. .SH SYNOPSIS \fBglab snippet [flags]\fP .SH DESCRIPTION Snippets store and share small pieces of code or text. A snippet can belong to a project, or to your personal account when you pass \fB--personal\fR\&. .SH OPTIONS \fB-R\fP, \fB--repo\fP="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB-h\fP, \fB--help\fP[=false] Show help for this command. .SH EXAMPLE .EX glab snippet create --title "Title of the snippet" --filename "main.go" .EE .SH SEE ALSO \fBglab(1)\fP, \fBglab-snippet-create(1)\fP