glab-snippet - Man Page

Create, view and manage snippets.

Synopsis

glab snippet  [flags]

Description

Create, view and manage snippets.

Options

-R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

Options Inherited from Parent Commands

-h, --help[=false] Show help for this command.

Example

glab snippet create --title "Title of the snippet" --filename "main.go"

See Also

glab(1), glab-snippet-create(1)

Referenced By

glab(1), glab-snippet-create(1).

May 2026 Auto generated by spf13/cobra