aboutsummaryrefslogtreecommitdiffstats
path: root/sh/may_execute_command.sh
blob: 90db52bb8188e64cefdce5da231232acfa43a27f (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 --command~ Command to execute, such as `ls -la`

main() {
    eval "$argc_command"
}

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