From 4052bc944eea096d66bbfe23ded12f8d853cb848 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 6 Jun 2024 09:28:15 +0800 Subject: refactor: may_execute_command.sh (#19) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9bcb735..26693d5 100644 --- a/README.md +++ b/README.md @@ -82,11 +82,11 @@ Create a new bashscript in the [./tools/](./tools/) directory (.e.g. `may_execut #!/usr/bin/env bash set -e -# @describe Executes a shell command. -# @option --command~ Command to execute, such as `ls -la` +# @describe Runs a shell command. +# @option --command! The command to execute. main() { - eval $argc_shell_command + eval "$argc_command" } eval "$(argc --argc-eval "$0" "$@")" @@ -109,7 +109,7 @@ The relationship between comment tags and parameters in function declarations is ### Javascript -Create a new javascript in the [./tools/](./tools/) directory (.e.g. `may_execute_command.js`). +Create a new javascript in the [./tools/](./tools/) directory (.e.g. `may_execute_js_code.js`). ```js exports.declarate = function declarate() { -- cgit v1.2.3