File: motd

package info (click to toggle)
awesomeversion 25.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,304 kB
  • sloc: python: 2,411; sh: 146; makefile: 5
file content (26 lines) | stat: -rwxr-xr-x 653 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

# script/motd: Display Message of the Day for development environment

set -e

cd "$(dirname "$0")/.."

echo ""
echo "🎉 Welcome to the AwesomeVersion development environment!"
echo ""
echo "📂 Project: $(pwd)"
echo "🌿 Git branch: $(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo 'Not a git repo')"
echo "🐍 Python: $(python3 --version 2>/dev/null || echo 'Not available')"
if command -v uv >/dev/null 2>&1; then
    echo "📦 UV: $(uv --version)"
else
    echo "📦 UV: Not installed"
fi
echo ""

script/help

echo ""
echo "💡 Tip: Run './script/setup' if this is your first time, or './script/test' to run tests."
echo ""