Skip to content

feat: support a --script option#2109

Closed
tzneal wants to merge 1 commit intoaws:mainfrom
tzneal:support-shebang-usage
Closed

feat: support a --script option#2109
tzneal wants to merge 1 commit intoaws:mainfrom
tzneal:support-shebang-usage

Conversation

@tzneal
Copy link
Copy Markdown

@tzneal tzneal commented Jun 25, 2025

Description of changes:

This allows using the Q cli as an intepreter for a script.

E.g.

#!/usr/bin/env q chat --no-interactive --trust-tools=a,b --script

--no-interactive is optional, if not passed the script is passed as the initial input and then Q cli enters standard interactive mode.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This allows using the Q cli as an intepreter for a script.

E.g.
  #!/usr/bin/env q chat --no-interactive --trust-tools=a,b --script
@tzneal tzneal requested a review from a team as a code owner June 25, 2025 16:47
@tzneal
Copy link
Copy Markdown
Author

tzneal commented Jun 26, 2025

@tzneal tzneal closed this Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant