# Comment Update Update a comment on a video. Use this skill to update a comment on a video. ## Usage ```bash yutu comment update [flags] ``` ## Flags | Flag | Shorthand | Required | Description | |------|-----------|----------|-------------| | `--canRate` | `-R` | | Whether the viewer can rate the comment | | `--id` | `-i` | Yes | ID of the comment | | `--jsonPath` | `-j` | | JSONPath expression to filter the output | | `--output` | `-o` | | json\|yaml\|silent | | `--textOriginal` | `-t` | | Text of the comment | | `--viewerRating` | `-r` | | none\|like\|dislike | ## Examples ```bash # Update comment text yutu comment update --id abc123 --textOriginal 'Updated comment' # Like a comment yutu comment update --id abc123 --viewerRating like # Update comment text with rating enabled yutu comment update --id abc123 --textOriginal 'New text' --canRate ```