feat: add scripts/create.sh for creating tool script quickly (#23)

This commit is contained in:
sigoden
2024-06-06 13:28:59 +08:00
committed by GitHub
parent a144077aec
commit c6eeb84402
2 changed files with 127 additions and 0 deletions
+10
View File
@@ -174,6 +174,16 @@ install() {
fi
}
# @cmd Create a boilplate tool script file.
# It automatically generate declaration json for `*.py` and `*.js` and generate `@option` tags for `.sh`.
# Examples:
# argc create abc.sh foo bar! baz+ qux*
# @arg name! The script filename.
# @arg params* The script parameters
create() {
./scripts/create.sh "$@"
}
# @cmd Show pre-requisite tool versions
version() {
uname -a