github.com/zaquestion/lab@v0.25.1/docs/lab_snippet.md (about) 1 ## lab snippet 2 3 Create a personal or project snippet 4 5 ### Synopsis 6 7 Source snippets from stdin, file, or in editor from scratch. 8 9 ``` 10 lab snippet [flags] 11 ``` 12 13 ### Options 14 15 ``` 16 -g, --global create as a personal snippet 17 -h, --help help for snippet 18 -m, --message stringArray use the given <msg>; multiple -m are concatenated as separate paragraphs (default [-]) 19 -n, --name string name snippet to add code highlighting 20 -p, --private make snippet private; visible only to project members (default: internal) 21 --public make snippet public; can be accessed without any authentication (default: internal) 22 ``` 23 24 ### Options inherited from parent commands 25 26 ``` 27 --debug Enable debug logging level 28 --no-pager Do not pipe output into a pager 29 --quiet Turn off any sort of logging. Only command output is printed 30 ``` 31 32 ### SEE ALSO 33 34 * [lab](index.md) - lab: A GitLab Command Line Interface Utility 35 * [lab snippet browse](lab_snippet_browse.md) - View personal or project snippet in a browser 36 * [lab snippet create](lab_snippet_create.md) - Create a personal or project snippet 37 * [lab snippet delete](lab_snippet_delete.md) - Delete a project or personal snippet 38 * [lab snippet list](lab_snippet_list.md) - List personal or project snippets 39 40 ###### Auto generated by spf13/cobra on 27-Jun-2022