maton youtube comment create

maton youtube comment create [flags]

Post a comment. Use –video to start a new top-level thread on a video, or –parent to reply to an existing comment. Exactly one of –video or –parent is required.

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--parent <string>
Reply to this top-level comment ID
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"
--text <string>
Comment body (required)
-v, --video <string>
Post a top-level comment on this video ID

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton youtube comment create --video dQw4w9WgXcQ --text "Great video!"
$ maton youtube comment create --parent <commentId> --text "I agree"

See also