mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Add omarchy CLI * Remove outdated or internal * Add bash completions for command * Add omarchy command documentation * Add missing docs * Correct to what's now right * Fix tests --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
19 lines
460 B
Bash
Executable File
19 lines
460 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Prompt for confirmation before starting an update
|
|
|
|
gum style --border normal --border-foreground 6 --padding "1 2" \
|
|
"Ready to update?" \
|
|
"" \
|
|
"• You cannot stop the update once you start!" \
|
|
"• Make sure you're connected to power or have a full battery" \
|
|
"" \
|
|
"What's new: https://github.com/basecamp/omarchy/releases"
|
|
|
|
echo
|
|
|
|
if ! gum confirm "Continue with update?"; then
|
|
echo "Update cancelled"
|
|
exit 1
|
|
fi
|