diff options
Diffstat (limited to 'tools/execute_sql_code.sh')
| -rwxr-xr-x | tools/execute_sql_code.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/execute_sql_code.sh b/tools/execute_sql_code.sh index ce99c79..df57dea 100755 --- a/tools/execute_sql_code.sh +++ b/tools/execute_sql_code.sh @@ -4,9 +4,11 @@ set -e # @describe Execute the sql code. # @option --code! The code to execute. -# @env USQL_DSN! The database url, e.g. pgsql://user:pass@host/dbname # @meta require-tools usql +# @env USQL_DSN! The database url, e.g. pgsql://user:pass@host/dbname +# @env LLM_OUTPUT=/dev/stdout The output path + main() { if ! grep -qi '^select' <<<"$argc_code"; then if [ -t 1 ]; then |
