Files
llm-functions/bin/execute_command
2024-05-18 10:21:57 +08:00

12 lines
256 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# @describe Executes a shell command. This tool does not return data to LLM.
# @option --shell-command~ "Shell command to execute, such as `ls -la`"
main() {
eval $argc_shell_command
}
eval "$(argc --argc-eval "$0" "$@")"