VideoTools/scripts/alias.sh
Stu Leak 11b5fae23d Remove terminal banner from alias.sh
The banner was displaying every time a new shell was opened,
which was intrusive. Now the aliases load silently.

Commands are still available (VideoTools, VideoToolsRebuild,
VideoToolsClean) but without the banner on every terminal load.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-30 21:25:03 -05:00

27 lines
760 B
Bash
Executable File

#!/bin/bash
# VideoTools Convenience Script
# Source this file in your shell to add the 'VideoTools' command
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# Create alias and function for VideoTools
alias VideoTools="bash $PROJECT_ROOT/scripts/run.sh"
# Also create a rebuild function for quick rebuilds
VideoToolsRebuild() {
echo "Rebuilding VideoTools..."
bash "$PROJECT_ROOT/scripts/build.sh"
}
# Create a clean function
VideoToolsClean() {
echo "Cleaning VideoTools build artifacts..."
cd "$PROJECT_ROOT"
go clean -cache -modcache -testcache
rm -f "$PROJECT_ROOT/VideoTools"
echo "Clean complete"
}
# VideoTools commands loaded silently
# Available commands: VideoTools, VideoToolsRebuild, VideoToolsClean