github.com/zaquestion/lab@v0.25.1/docs/lab_snippet_create.md (about)

     1  ## lab snippet create
     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 create [remote] [flags]
    11  ```
    12  
    13  ### Examples
    14  
    15  ```
    16  lab snippet create
    17  lab snippet create snippet_file.txt
    18  lab snippet create -n "potato.go for GoLang"
    19  lab snippet create -m "Snippet example" -M "Description message"
    20  lab snippet create upstream --private
    21  lab snippet create origin --public
    22  ```
    23  
    24  ### Options
    25  
    26  ```
    27    -h, --help                  help for create
    28    -m, --message stringArray   use the given <msg>; multiple -m are concatenated as separate paragraphs (default [-])
    29    -n, --name string           name snippet to add code highlighting
    30    -p, --private               make snippet private; visible only to project members (default: internal)
    31        --public                make snippet public; can be accessed without any authentication (default: internal)
    32  ```
    33  
    34  ### Options inherited from parent commands
    35  
    36  ```
    37        --debug      Enable debug logging level
    38    -g, --global     create as a personal snippet
    39        --no-pager   Do not pipe output into a pager
    40        --quiet      Turn off any sort of logging. Only command output is printed
    41  ```
    42  
    43  ### SEE ALSO
    44  
    45  * [lab snippet](lab_snippet.md)	 - Create a personal or project snippet
    46  
    47  ###### Auto generated by spf13/cobra on 27-Jun-2022