Open
Description
$ echo foo | gptscript -f -
Usage:
gptscript [flags] PROGRAM_FILE [INPUT...]
gptscript [command]
...
The expectation here is to do something that doesn't require any non-system tools. However PROGRAM_FILE is still required, so this example doesn't work. Documentation says tools can be in script or system ones. So there's a case where running gptscript shouldn't require any tool definitions and input can contain everything.
If I create a file that contains the same input as above and nothing else then it works just fine:
$ gptscript test
This further adds to confusion between meaning of inputs and program files. Oh, and passing empty file as program file doesn't work, gptscript complains about no tools being defined.