Files
llm-functions/tools/may_execute_command.sh
2024-06-06 08:29:00 +08:00

11 lines
198 B
Bash
Executable File

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