the script

This commit is contained in:
Q
2023-08-19 21:10:45 +03:00
parent cfee5287d5
commit 7b0c9d0ad2
3 changed files with 277 additions and 0 deletions

View File

@@ -232,6 +232,27 @@ function t10-maintenance-post() {
"$FLASK_PUBLIC_URL"/ls
}
function t11-get-mfl() {
curl -fL \
-H "Secret: $FLASK_ACCESS_TOKEN" \
"$FLASK_PUBLIC_URL"/script/mfl > mfl
chmod +x mfl
}
function t12-mfl-update() {
./mfl update
}
function t13-mfl-list() {
./mfl list
./mfl
}
function t14-mfl-upload() {
./mfl w mfl
./mfl w -d 1 -m 1 mfl
}
_getlist() {
declare -F | awk '{ print $3 }' | grep -v ^_
echo exit