Update paths in .gitignore, cmd, develop, mgmt, sync.sh, check.sh, fixup.sh, CLAUDE.md, docs/new-project.md, and backend/*.sh scripts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
28 lines
572 B
Bash
Executable File
28 lines
572 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This file belongs to the framework. You are not expected to modify it.
|
|
|
|
# Managed binary runner - runs framework-managed binaries like node, pnpm, tsx
|
|
# Usage: ./cmd <command> [args...]
|
|
|
|
set -eu
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
if [ $# -lt 1 ]; then
|
|
echo "Usage: ./cmd <command> [args...]"
|
|
echo ""
|
|
echo "Available commands:"
|
|
for cmd in "$DIR"/diachron/cmd.d/*; do
|
|
if [ -x "$cmd" ]; then
|
|
basename "$cmd"
|
|
fi
|
|
done
|
|
exit 1
|
|
fi
|
|
|
|
subcmd="$1"
|
|
shift
|
|
|
|
exec "$DIR"/diachron/cmd.d/"$subcmd" "$@"
|