refactor: improve Argcfile.sh (#40)
This commit is contained in:
@@ -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