mirror of
https://github.com/s-frick/effigenix.git
synced 2026-03-28 08:29:36 +01:00
docs: update memory
This commit is contained in:
parent
6010820944
commit
dcaa43dc2c
1 changed files with 41 additions and 1 deletions
42
CLAUDE.md
42
CLAUDE.md
|
|
@ -119,8 +119,48 @@ Issue-Body mit Markdown...
|
||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
|
|
||||||
# Auflisten
|
# Auflisten (nach Milestone, State, Label)
|
||||||
nix shell nixpkgs#gh -c gh issue list --milestone "Name" --limit 50
|
nix shell nixpkgs#gh -c gh issue list --milestone "Name" --limit 50
|
||||||
|
nix shell nixpkgs#gh -c gh issue list --milestone "Name" --state open --json number,title,labels \
|
||||||
|
--jq '.[] | "\(.number)\t\(.title)"' | sort -n
|
||||||
|
|
||||||
|
# Details anzeigen
|
||||||
|
nix shell nixpkgs#gh -c gh issue view 3 --json title,body,projectItems
|
||||||
|
|
||||||
|
# Kommentieren
|
||||||
|
nix shell nixpkgs#gh -c gh issue comment 3 --body "Kommentar-Text"
|
||||||
|
|
||||||
|
# Schließen (mit optionalem Kommentar)
|
||||||
|
nix shell nixpkgs#gh -c gh issue close 3 --comment "$(cat <<'EOF'
|
||||||
|
Abschluss-Kommentar mit Markdown...
|
||||||
|
EOF
|
||||||
|
)"
|
||||||
|
```
|
||||||
|
|
||||||
|
### GitHub Projects (Projektstatus ändern)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Projekt-IDs:
|
||||||
|
# Project: PVT_kwHOAvvITc4BPlrt
|
||||||
|
# Status-Field: PVTSSF_lAHOAvvITc4BPlrtzg99FPE
|
||||||
|
# Status-Optionen:
|
||||||
|
# Todo: f75ad846
|
||||||
|
# In Progress: 47fc9ee4
|
||||||
|
# Done: 98236657
|
||||||
|
# Test: d755b468
|
||||||
|
# Completed: b7405d2f
|
||||||
|
|
||||||
|
# Item-ID eines Issues im Projekt ermitteln (z.B. Issue #3)
|
||||||
|
nix shell nixpkgs#gh -c gh api graphql -f query='{ node(id: "PVT_kwHOAvvITc4BPlrt") { ... on ProjectV2 { items(first: 50) { nodes { id content { ... on Issue { number title } } } } } } }' \
|
||||||
|
--jq '.data.node.items.nodes[] | select(.content.number == 3) | .id'
|
||||||
|
|
||||||
|
# Status ändern (Item-ID einsetzen)
|
||||||
|
nix shell nixpkgs#gh -c gh project item-edit \
|
||||||
|
--project-id PVT_kwHOAvvITc4BPlrt \
|
||||||
|
--id <ITEM_ID> \
|
||||||
|
--field-id PVTSSF_lAHOAvvITc4BPlrtzg99FPE \
|
||||||
|
--single-select-option-id 47fc9ee4 \
|
||||||
|
--format json
|
||||||
```
|
```
|
||||||
|
|
||||||
## Doku
|
## Doku
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue