Verify the complete native CLI cutover and record roadmap completion

This commit is contained in:
2026-11-20 05:17:05 +00:00
parent bd7136ceeb
commit f5573f7c8f
7 changed files with 281 additions and 11 deletions

View File

@@ -168,10 +168,13 @@ func TestRunDistinguishesCompletedInvalidContentAndOperationalFailure(t *testing
func TestRunUsageAndConfigurationFailures(t *testing.T) {
t.Chdir(t.TempDir())
for _, args := range [][]string{
{"render"}, {"inspect", "prompt"},
{"run"}, {"run", "one", "two"}, {"run", "one", "--prompt=two"}, {"run", "one", "--llm-prompt=two"},
{"run", "one", "--backend=local"}, {"run", "one", "--out=result"}, {"run", "one", "--execution-report=result"},
{"run", "one", "--llm-base-url=http://example.invalid"}, {"run", "one", "--timeout=1s"},
{"run", "one", "--prompt-id=two"}, {"run", "one", "--profile-id=local"}, {"run", "one", "--run-timeout=bad"},
{"run", "one", "--prompt-version=1"}, {"run", "one", "--prompt-dir=prompts"}, {"run", "one", "--profile-dir=profiles"},
{"run", "one", "--config-overlay=local"}, {"run", "one", "--output=file"},
} {
outcome, _, _ := executeNative(t, args...)
if outcome.Kind != commandkit.OutcomeUsage || outcome.Status != 2 {