aboutsummaryrefslogtreecommitdiffstats
path: root/bin/execute_command
blob: fab84bd06f86b3f10813134fa1f2f4aa43278028 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/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" "$@")"