From 499b7cdef5d62298c17889895a61a110d7cd8168 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 3 Jul 2024 16:18:32 +0800 Subject: feat: rename `may_execute_*` to `execute_*` (#56) --- tools/execute_command.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/execute_command.sh (limited to 'tools/execute_command.sh') diff --git a/tools/execute_command.sh b/tools/execute_command.sh new file mode 100755 index 0000000..6acc021 --- /dev/null +++ b/tools/execute_command.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +set -e + +# @describe Runs a shell command. +# @option --command! The command to execute. + +main() { + eval "$argc_command" +} + +eval "$(argc --argc-eval "$0" "$@")" \ No newline at end of file -- cgit v1.2.3