Add clear flag usage example
This commit is contained in:
parent
6f6e179c49
commit
9d81ca0e44
1 changed files with 3 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue