From 14323803294e820d93f2c9dc06e484f69e443aa3 Mon Sep 17 00:00:00 2001 From: Yang Jun Date: Tue, 28 Jul 2026 00:05:03 +0800 Subject: [PATCH] feat!: require positional template; drop bare stdin and --template (#942) * feat!: remove CLI support for template via STDIN Fixes #940 Co-authored-by: Cursor * feat!: take CLI template as positional argument Make template a required positional arg (drop --template) for v11 per #586; stdin template remains unsupported without a special error. Co-authored-by: Cursor * fix: restore --template CLI option Revert the positional-only template change. Keep --template as the primary API; stdin template remains unsupported without a special error. Co-authored-by: Cursor * fix: restore explicit @- stdin for template and context Keep @- for --template and --context; only the legacy bare-stdin-as-template fallback stays removed. Co-authored-by: Cursor * feat: accept CLI template as positional or --template Support positional