Skip to content

Commit c632136

Browse files
committed
Add example for quote-reply in create-reply
Add a CLI example demonstrating the --quote-reply option for the create-reply command. This updates the help output to show how to quote an existing reply when creating a new reply, improving usability and documentation for the command.
1 parent a08188e commit c632136

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commands/comment/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ function buildCommentCli(runtime: RuntimeContext): CAC {
214214
commentCli.example(
215215
(bin) => `${bin} create-reply comment-abc123 --content "Thanks for your feedback"`,
216216
);
217+
commentCli.example(
218+
(bin) =>
219+
`${bin} create-reply comment-abc123 --content "Thanks for your feedback" --quote-reply reply-abc123`,
220+
);
217221
commentCli.example((bin) => `${bin} reply list comment-abc123`);
218222
commentCli.help();
219223

0 commit comments

Comments
 (0)