Rework launcher source syntax

.gitmodules, .gitignore, osintbuddy-plugins, api.ts, launcher, _colors, api:gen, bootstrap, build, cleanup, debug:send, downkill, env, logs, migrate, pkg:update, ps, python, restart, setup:dev, shell, start, stop, and ui_dev
This commit is contained in:
jerlendds
2023-11-05 06:02:36 -07:00
parent 9ed052e262
commit 4960576cde
22 changed files with 95 additions and 91 deletions

View File

@@ -9,7 +9,7 @@ export OB_DIR="$(pwd)/ob"
if [ -f ./ob/cmd/env ]; then
cd $OB_DIR
source cmd/env;
. ./cmd/env;
else
echo "Error! Please run the ./launcher only from the root osintbuddy directory."
exit 1
@@ -67,61 +67,61 @@ fi
case "$OB_CMD" in
bootstrap)
cmd/bootstrap
./cmd/bootstrap
;;
start)
cmd/start
./cmd/start
;;
restart)
cmd/restart
./cmd/restart
;;
stop)
cmd/stop
./cmd/stop
;;
build)
cmd/build
./cmd/build
;;
logs)
cmd/logs
./cmd/logs
;;
api:gen)
cmd/api:gen
./cmd/api:gen
;;
kill)
cmd/downkill
./cmd/downkill
;;
ui)
cmd/ui_dev
./cmd/ui_dev
;;
debug:send)
cmd/debug:send
./cmd/debug:send
;;
cleanup)
cmd/stop
cmd/cleanup
./cmd/stop
./cmd/cleanup
;;
exec)
cmd/shell
./cmd/shell
;;
python)
cmd/python
./cmd/python
;;
migrate)
cmd/migrate
./cmd/migrate
;;
setup:dev)
cmd/setup:dev
./cmd/setup:dev
;;
pkg:update)
cmd/pkg:update
./cmd/pkg:update
;;
ps)
cmd/ps
./cmd/ps
;;
containers)
usage_containers
./usage_containers
;;
show)
print_access_urls
./print_access_urls
;;
esac