aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-08 21:58:44 +0800
committerGitHub <noreply@github.com>2024-06-08 21:58:44 +0800
commit8f3385ca9e87f6941914953cabe8ed1e325305cb (patch)
tree08128134a517d7136d2cfeac8914a48e44298d80 /scripts
parent213e949fc8c2362046d197554fda98c87a7906df (diff)
downloadllm-functions-docker-8f3385ca9e87f6941914953cabe8ed1e325305cb.tar.gz
refactor: improve Argcfile.sh (#40)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-tool.sh5
-rwxr-xr-xscripts/declarations-util.sh2
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/create-tool.sh b/scripts/create-tool.sh
index bb0322c..37cea7a 100755
--- a/scripts/create-tool.sh
+++ b/scripts/create-tool.sh
@@ -1,11 +1,10 @@
#!/usr/bin/env bash
set -e
-# @describe Create a boilplate tool scriptfile.
+# @describe Create a boilplate tool script
#
-# It automatically generate declaration json for `*.py` and `*.js` and generate `@option` tags for `.sh`.
# Examples:
-# argc create abc.sh foo bar! baz+ qux*
+# argc create test.sh foo bar! baz+ qux*
# ./scripts/create-tool.sh test.py foo bar! baz+ qux*
#
# @flag --force Override the exist tool file
diff --git a/scripts/declarations-util.sh b/scripts/declarations-util.sh
index 7646500..4ee5ca8 100755
--- a/scripts/declarations-util.sh
+++ b/scripts/declarations-util.sh
@@ -2,6 +2,8 @@
set -e
+# @describe Utils for declarations json file
+
# @cmd Pretty print declarations
#
# Examples: