gitea-cli-skill 0.1.0 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/SKILL.md +13 -0
- package/package.json +1 -1
package/assets/SKILL.md
CHANGED
|
@@ -126,6 +126,7 @@ gitea-cli commit get <sha> --output json
|
|
|
126
126
|
gitea-cli issue list --state open --output json
|
|
127
127
|
gitea-cli issue get <number> --output json
|
|
128
128
|
gitea-cli issue create -t "Title" -b "Body" --label <id> --milestone <id>
|
|
129
|
+
gitea-cli issue create -t "Title" --attach ./image.png --attach ./log.txt # embed attachments in body
|
|
129
130
|
gitea-cli issue update <number> -t "New Title" --state closed
|
|
130
131
|
gitea-cli issue close <number>
|
|
131
132
|
|
|
@@ -225,6 +226,7 @@ gitea-cli webhook test <id>
|
|
|
225
226
|
gitea-cli release list --output json
|
|
226
227
|
gitea-cli release get <tag> --output json
|
|
227
228
|
gitea-cli release create --tag <tag> --name "Title" --body "Notes" --target <ref> --draft --prerelease
|
|
229
|
+
gitea-cli release create --tag <tag> --body-file changelog.md # use file for release notes (avoids encoding issues)
|
|
228
230
|
gitea-cli release delete <tag> --force
|
|
229
231
|
|
|
230
232
|
# Assets
|
|
@@ -259,6 +261,17 @@ gitea-cli milestone list --output json --owner myorg --repo myrepo
|
|
|
259
261
|
gitea-cli issue create -t "Fix login bug" -b "Description" --label 3 --label 7 --milestone 2 --owner myorg --repo myrepo
|
|
260
262
|
```
|
|
261
263
|
|
|
264
|
+
### Create issue with attachments
|
|
265
|
+
|
|
266
|
+
```bash
|
|
267
|
+
# Attach images (auto-embedded as markdown images) and files (embedded as links)
|
|
268
|
+
gitea-cli issue create -t "Bug screenshot" -b "Steps to reproduce..." \
|
|
269
|
+
--attach ./screenshot.png --attach ./error.log --owner myorg --repo myrepo
|
|
270
|
+
|
|
271
|
+
# Supported image formats: png, jpg, jpeg, gif, webp, bmp, svg
|
|
272
|
+
# Other file types are embedded as download links
|
|
273
|
+
```
|
|
274
|
+
|
|
262
275
|
### Monitor CI/CD pipeline
|
|
263
276
|
|
|
264
277
|
```bash
|