github.com/lelandbatey/lab@v0.12.1-0.20180712064405-55bfd303a5f0/docs/lab_snippet_create.md (about) 1 ## lab snippet create 2 3 Create a personal or project snippet 4 5 ### Synopsis 6 7 8 Source snippets from stdin, file, or in editor from scratch 9 Optionally add a title & description with -m 10 11 ``` 12 lab snippet create [remote] [flags] 13 ``` 14 15 ### Options 16 17 ``` 18 -h, --help help for create 19 -m, --message strings Use the given <msg>; multiple -m are concatenated as seperate paragraphs (default [-]) 20 -n, --name string (optional) Name snippet to add code highlighting, e.g. potato.go for GoLang 21 -p, --private Make snippet private; visible only to project members (default: internal) 22 --public Make snippet public; can be accessed without any authentication (default: internal) 23 ``` 24 25 ### Options inherited from parent commands 26 27 ``` 28 -g, --global create as a personal snippet 29 ``` 30 31 ### SEE ALSO 32 33 * [lab snippet](lab_snippet.md) - Create a personal or project snippet 34 35 ###### Auto generated by spf13/cobra on 12-Jul-2018