refactor: improve Argcfile.sh (#40)
This commit is contained in:
1 parent
213e949fc8
commit
8f3385ca9e
3 files changed
+86
-59
No files matched your search
@@ -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
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
# @describe Utils for declarations json file
|
||||
|
||||
# @cmd Pretty print declarations
|
||||
#
|
||||
# Examples:
|
||||
|
||||
Reference in new issue
Block a user