-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdx
More file actions
39 lines (34 loc) · 1002 Bytes
/
Copy pathdx
File metadata and controls
39 lines (34 loc) · 1002 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
# DevEx Manager: Main DX CLI Router
set -e
COMMAND="$1"
[ "$#" -gt 0 ] && shift
# Locate tools relative to this script
ROUTER_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
SKILLS_TOOLS_DIR="$ROUTER_DIR/dx-skills-tools"
NB_TOOLS_DIR="$ROUTER_DIR/dx-nb-tools"
CTX_TOOLS_DIR="$ROUTER_DIR/dx-ctx-tools"
BLUE='\033[0;34m'
NC='\033[0m'
case "$COMMAND" in
skills)
exec "$SKILLS_TOOLS_DIR/dx-skills" "$@"
;;
nb)
exec "$NB_TOOLS_DIR/dx-nb" "$@"
;;
ctx)
exec "$CTX_TOOLS_DIR/dx-ctx" "$@"
;;
*)
echo -e "${BLUE}DevEx Manager (dx)${NC}"
echo "Usage: dx <command> [arguments]"
echo ""
echo "Available commands:"
echo " skills - Sync, list, and manage AI agent skills"
echo " nb - Jupyter Notebook utilities (strip, diff, kernel, list)"
echo " ctx - Developer context checklist & scratchpad"
echo ""
exit 1
;;
esac