Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab

View the Project on GitHub zaquestion/lab

lab snippet

Create a personal or project snippet


Source snippets from stdin, file, or in editor from scratch Optionally add a title & description with -m

lab snippet [flags]


  -b, --browse            browse snippets
  -d, --delete string     delete snippet with id
  -g, --global            create as a personal snippet
  -h, --help              help for snippet
  -l, --list              list snippets
  -m, --message strings   Use the given <msg>; multiple -m are concatenated as separate paragraphs (default [-])
  -n, --name string       (optional) Name snippet to add code highlighting, e.g. potato.go for GoLang
  -p, --private           Make snippet private; visible only to project members (default: internal)
      --public            Make snippet public; can be accessed without any authentication (default: internal)


Auto generated by spf13/cobra on 18-Dec-2019