Files
llm-functions/bin/execute_command
2024-05-16 00:39:29 +00:00

12 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# @describe Executes a shell command and returns the output.
# @option --shell-command~ "Shell command to execute, such as `ls -la`"
main() {
eval $argc_shell_command
}
eval "$(argc --argc-eval "$0" "$@")"