mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-22 08:38:08 +02:00
feat(cli): clean up command surface
This commit is contained in:
parent
60457e9407
commit
e15a4ebaec
61 changed files with 406 additions and 2076 deletions
|
|
@ -15,7 +15,7 @@ unset KTX_SQL_ANALYSIS_URL
|
|||
|
||||
cleanup() {
|
||||
if [[ -f "$KTX_BIN" ]]; then
|
||||
node "$KTX_BIN" runtime stop >/dev/null 2>&1 || true
|
||||
node "$KTX_BIN" dev runtime stop >/dev/null 2>&1 || true
|
||||
fi
|
||||
if [[ "${KTX_POSTGRES_HISTORIC_KEEP_DOCKER:-0}" != "1" ]]; then
|
||||
docker compose -f "$COMPOSE_FILE" down -v >/dev/null 2>&1 || true
|
||||
|
|
@ -220,8 +220,8 @@ node "$KTX_BIN" --project-dir "$PROJECT_DIR" setup \
|
|||
--yes \
|
||||
--no-input
|
||||
|
||||
node "$KTX_BIN" runtime install --yes
|
||||
node "$KTX_BIN" runtime start
|
||||
node "$KTX_BIN" dev runtime install --yes
|
||||
node "$KTX_BIN" dev runtime start
|
||||
|
||||
FIRST_RECORD="$PROJECT_PARENT/first-record.json"
|
||||
run_historic_stage_only "historic-first-$$" "$FIRST_RECORD"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue