docs(gt-usage): add project column and card move API recipes
This commit is contained in:
1 parent
7077c752a1
commit
03ceeca156
1 file changed
+6
@@ -43,6 +43,12 @@ gt project list --json id,title,state,url
|
|||||||
|
|
||||||
# View project cards and columns
|
# View project cards and columns
|
||||||
gt project view <id>
|
gt project view <id>
|
||||||
|
|
||||||
|
# List board columns with IDs
|
||||||
|
gt api /repos/{owner}/{repo}/projects/<project-id>/columns --jq '.[].id, .[].title'
|
||||||
|
|
||||||
|
# Move issue card between columns (requires global issue ID, e.g. from `gt issue list --json id,number`)
|
||||||
|
gt api -X POST /repos/{owner}/{repo}/projects/<project-id>/issues/<global-issue-id>/move -F column_id=<target-col-id>
|
||||||
```
|
```
|
||||||
|
|
||||||
## 4. Issues
|
## 4. Issues
|
||||||
|
|||||||
Reference in new issue
Block a user