feat: add render-md json input flow

This commit is contained in:
2026-04-08 22:50:30 +08:00
parent 75e3239a16
commit 2b9c50af2e
8 changed files with 528 additions and 8 deletions
+1 -7
View File
@@ -16,13 +16,7 @@ fn parse_fetch_default_format() {
#[test]
fn parse_render_md_requires_input() {
let cli = Cli::try_parse_from([
"gitea-pr-review",
"render-md",
"--in",
"sample.json",
])
.unwrap();
let cli = Cli::try_parse_from(["gitea-pr-review", "render-md", "--in", "sample.json"]).unwrap();
match cli.command {
Commands::RenderMd(args) => {