Files
arthur-os/bin/omarchy-dev-add-migration
T
Ryan Hughes 75cb4f7195 Make setup ISO-only
Remove legacy online installer entrypoints, collapse migrations for 4.0, and move setup responsibilities into target-side system, hardware, and user commands.
2026-06-04 18:37:32 -04:00

17 lines
357 B
Bash
Executable File

#!/bin/bash
# omarchy:summary=Create a new Omarchy migration in the current source tree.
set -euo pipefail
cd "${OMARCHY_PATH:-$(pwd)}"
mkdir -p migrations
migration_file="migrations/$(git log -1 --format=%cd --date=unix).sh"
touch "$migration_file"
if [[ ${1:-} != "--no-edit" ]]; then
nvim "$migration_file"
fi
printf '%s\n' "$PWD/$migration_file"