feat(snippets): allow creation of personal snippets
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
Description
Allows the creation of personal snippets instead of only snippets in projects.
Related Issues
Resolves #1319 (closed)
How has this been tested?
> ~/dev/glab/bin/glab snippet create -d "test" -f "test.md" -t "test" -v private -p
sdfsdf
- Creating snippet in personal space
$82 test (test.md)
https://git.example.com/-/snippets/82
> ~/dev/glab/bin/glab snippet create -d "test" -f "test.md" -t "test" -v private
sdfjslkdfj
- Creating snippet in segu/test
$83 test (test.md)
https://git.example.com/segu/test/-/snippets/83
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by 🤖 GitLab Bot 🤖