Add clear flag usage example

This commit is contained in:
Arun 2023-09-29 11:54:26 -07:00
parent 6f6e179c49
commit 9d81ca0e44
No known key found for this signature in database

View file

@ -70,6 +70,9 @@ func NewCmdEditItem(f *cmdutil.Factory, runF func(config editItemConfig) error)
Example: heredoc.Doc(`
# edit an item's text field value
gh project item-edit --id <item-ID> --field-id <field-ID> --project-id <project-ID> --text "new text"
# clear an item's field value
gh project item-edit --id <item-ID> --field-id <field-ID> --project-id <project-ID> --clear
`),
RunE: func(cmd *cobra.Command, args []string) error {
if err := cmdutil.MutuallyExclusive(