From 8f3385ca9e87f6941914953cabe8ed1e325305cb Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 8 Jun 2024 21:58:44 +0800 Subject: refactor: improve Argcfile.sh (#40) --- scripts/create-tool.sh | 5 ++--- scripts/declarations-util.sh | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'scripts') 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: -- cgit v1.2.3