mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
26 lines
218 B
Bash
Executable File
26 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# doc_parse.sh
|
|
|
|
. ./.env
|
|
|
|
set_ENV $0
|
|
|
|
if [ "$REQUEST_METHOD" = "GET" ]; then
|
|
|
|
if [ $# -eq 1 ]; then
|
|
|
|
view_doc $1
|
|
|
|
elif [ $# -eq 2 ]; then
|
|
|
|
view_doc_tag $1 $2
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
write_OUTPUT "$OUTPUT"
|
|
|
|
exit 1
|