You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cli/gptscript.go
+9-8
Original file line number
Diff line number
Diff line change
@@ -45,14 +45,15 @@ type GPTScript struct {
45
45
CacheOptions
46
46
OpenAIOptions
47
47
DisplayOptions
48
-
Color*bool`usage:"Use color in output (default true)" default:"true"`
49
-
Confirmbool`usage:"Prompt before running potentially dangerous commands"`
50
-
Debugbool`usage:"Enable debug logging"`
51
-
NoTruncbool`usage:"Do not truncate long log messages"`
52
-
Quiet*bool`usage:"No output logging (set --quiet=false to force on even when there is no TTY)" short:"q"`
53
-
Outputstring`usage:"Save output to a file, or - for stdout" short:"o"`
54
-
EventsStreamTostring`usage:"Stream events to this location, could be a file descriptor/handle (e.g. fd://2), filename, or named pipe (e.g. \\\\.\\pipe\\my-pipe)" name:"events-stream-to"`
55
-
Inputstring`usage:"Read input from a file (\"-\" for stdin)" short:"f"`
48
+
Color*bool`usage:"Use color in output (default true)" default:"true"`
49
+
Confirmbool`usage:"Prompt before running potentially dangerous commands"`
50
+
Debugbool`usage:"Enable debug logging"`
51
+
NoTruncbool`usage:"Do not truncate long log messages"`
52
+
Quiet*bool`usage:"No output logging (set --quiet=false to force on even when there is no TTY)" short:"q"`
53
+
Outputstring`usage:"Save output to a file, or - for stdout" short:"o"`
54
+
EventsStreamTostring`usage:"Stream events to this location, could be a file descriptor/handle (e.g. fd://2), filename, or named pipe (e.g. \\\\.\\pipe\\my-pipe)" name:"events-stream-to"`
55
+
// Input should not be using GPTSCRIPT_INPUT env var because that is the same value that is set in tool executions
56
+
Inputstring`usage:"Read input from a file (\"-\" for stdin)" short:"f" env:"GPTSCRIPT_INPUT_FILE"`
56
57
SubToolstring`usage:"Use tool of this name, not the first tool in file" local:"true"`
57
58
Assemblebool`usage:"Assemble tool to a single artifact, saved to --output" hidden:"true" local:"true"`
58
59
ListModelsbool`usage:"List the models available and exit" local:"true"`
0 commit comments