diff --git a/internal/adapter/cli/run.go b/internal/adapter/cli/run.go index c384079..cdf78ea 100644 --- a/internal/adapter/cli/run.go +++ b/internal/adapter/cli/run.go @@ -753,4 +753,5 @@ func printUsage(w io.Writer) { fmt.Fprintln(w, " render: scriptorium render [--config PATH] [--prompt-dir DIR] [--profile-dir DIR] --prompt ID [--prompt-version VERSION] [--input name=path] [--profile ID] [--session-id ID] [--llm-base-url URL] [--model NAME] [--api-key-env ENV] [--temperature N] [--max-tokens N] [--top-p N] [--reasoning-effort VALUE] [--var k=v] [--format text|json] [--out path] [--timeout 10m]") fmt.Fprintf(w, " serve: scriptorium serve [--config PATH] [--addr %s] [--prompt-dir DIR] [--profile-dir DIR] [--schema-dir DIR] [--artifact-root DIR] [--max-request-bytes N] [--max-artifact-bytes N] [--max-response-bytes N]\n", defaults.HTTPAddrDefault) fmt.Fprintln(w, " inspect prompt: scriptorium inspect prompt --prompt ID [--prompt-version VERSION] [--config PATH] [--prompt-dir DIR] [--format text|json] [--out path]") + fmt.Fprintln(w, " inspect profile: scriptorium inspect profile --profile ID [--config PATH] [--profile-dir DIR] [--format text|json] [--out path]") } diff --git a/internal/adapter/cli/run_test.go b/internal/adapter/cli/run_test.go index 1bbde0f..73180ec 100644 --- a/internal/adapter/cli/run_test.go +++ b/internal/adapter/cli/run_test.go @@ -217,6 +217,8 @@ func TestUsageIncludesExecutionAndServeFlags(t *testing.T) { "--max-request-bytes", "--max-artifact-bytes", "--max-response-bytes", + "inspect prompt", + "inspect profile", } { if !strings.Contains(usage, want) { t.Fatalf("expected usage to include %q, got %q", want, usage)