aboutsummaryrefslogtreecommitdiffstats
path: root/bin/may_execute_command
blob: 6e35e3cc339764a1f4f2bfb21fb15d202144706b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
set -e

# @describe Executes a shell command.
# @option --shell-command~ "Shell command to execute, such as `ls -la`"

main() {
    eval $argc_shell_command
}

eval "$(argc --argc-eval "$0" "$@")"