chore(ai): cleanup
This commit is contained in:
parent
1f37cbb70b
commit
91083a62c2
1 changed files with 0 additions and 9 deletions
9
ai.sh
9
ai.sh
|
|
@ -12,15 +12,6 @@ modelfile=$helper_modelfile
|
||||||
other_args=${@:2}
|
other_args=${@:2}
|
||||||
typora_flag=false
|
typora_flag=false
|
||||||
|
|
||||||
# Parse options
|
|
||||||
while getopts "t" opt; do
|
|
||||||
case "$opt" in
|
|
||||||
t)
|
|
||||||
typora_flag=true # -t was given
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# parse string args (when used as a function and passed "$@")
|
# parse string args (when used as a function and passed "$@")
|
||||||
POSITIONAL_ARGS=()
|
POSITIONAL_ARGS=()
|
||||||
while [[ $# -gt 0 ]]; do
|
while [[ $# -gt 0 ]]; do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue