How to post with gh
Purpose
Record the post method
List post
gh issue listNew post
# This backup file is created by github actions, there I just use the file for edit.
# -t title, -l label, -F File
gh issue create -t test -l autoscript -F .\backup\draft.md
# -b body
gh issue create -t test -l autoscript -b 'This is the body'View post
gh issue view 3
gh issue view 3 --webEdit post
# modify the title and body of the number 5 issue.
gh issue edit 5 -t autoscript -b 'short body'Delete post
gh issue delete 5New label
gh label create nameInvoke Actions
# Invoke actions with interactive
gh workflow run
# Show the action status
gh run list --workflow=Gmeek.yml