lab

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 mr approve

Approve merge request

lab mr approve [remote] [<MR id or branch>] [flags]

Examples

lab mr approve origin
lab mr approve upstream -F test_file
lab mr approve upstream -m "A helpfull comment"
lab mr approve upstream --with-comment
lab mr approve upstream -m "A helpfull\nComment" --force-linebreak

Options

  -F, --file string           use the given file as the message
      --force-linebreak       append 2 spaces to the end of each line to force markdown linebreaks
  -h, --help                  help for approve
  -m, --message stringArray   use the given <msg>; multiple -m are concatenated as separate paragraphs
      --with-comment          Add a comment with the approval

Options inherited from parent commands

      --debug      Enable debug logging level
      --no-pager   Do not pipe output into a pager
      --quiet      Turn off any sort of logging. Only command output is printed

SEE ALSO

Auto generated by spf13/cobra on 3-Jul-2022