v0.1.2
Altair v0.1.2
Two big quality-of-life improvements for the CLI in this release.
What's new
altair update — self-update from the command line
The binary can now update itself:
altair update # update to the latest release
altair update --check # exit 0 when current, 1 when an update is available
altair update --force # reinstall even when already up to dateIt downloads the platform binary from the latest GitHub release, verifies
its SHA-256 digest against the published SHA256SUMS, and swaps it in
atomically via a temporary file — no partial installs, no manual downloads.
App-context delegation — drop the bin/ prefix
altair server, altair routes, altair db:migrate and altair db:rollback
now work from any directory inside a project, subfolders included. The
global binary walks up to the nearest project root and forwards the command
to its launcher — an executable bin/altair when present, otherwise
crystal run bin/altair.cr for projects generated before the launcher
existed. The old Unknown command hint is gone.
Also in this release
- New Updating section in
README.mdand the CLI docs; new website page
docs/update.html. - Version bumped to
0.1.2.
Try it
curl -fsSL https://github.com/Arab-Open-Source/Altair/releases/latest/download/install.sh | sh