-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathinstall-gemini.sh
More file actions
executable file
·53 lines (48 loc) · 2.09 KB
/
Copy pathinstall-gemini.sh
File metadata and controls
executable file
·53 lines (48 loc) · 2.09 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
#
# Install BioDSA Skills to Gemini CLI
#
# Installs both skill sets:
# - Agent Development Skills (for creating new agents)
# - Agent Execution Skills (for running existing agents)
#
# Usage:
# ./install-gemini.sh # Install globally (~/.gemini/skills/)
# ./install-gemini.sh --project # Install to current project
# ./install-gemini.sh --project /path/to/project # Install to specific project
# ./install-gemini.sh --uninstall # Remove installed skills
# ./install-gemini.sh --dry-run # Preview what would be installed
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/install-common.sh"
TOOL_NAME="Gemini CLI"
INSTALL_MODE="global"
DEFAULT_SKILLS_BASE="$HOME/.gemini/skills"
PROJECT_SKILLS_BASE=".gemini/skills"
print_usage() {
echo "Usage: $0 [OPTIONS]"
echo ""
echo "Install BioDSA Skills to Gemini CLI"
echo ""
echo "Options:"
echo " --global Install to global Gemini skills (~/.gemini/skills/) [default]"
echo " --project [PATH] Install to a project directory (default: current directory)"
echo " --uninstall Remove installed skills from the target location"
echo " --dry-run Preview what would be installed without making changes"
echo " --verbose Show detailed output"
echo " --help Show this help message"
echo ""
echo "Examples:"
echo " $0 # Install globally"
echo " $0 --project # Install to current project"
echo " $0 --project ~/my-project # Install to ~/my-project"
echo " $0 --uninstall # Remove global install"
echo " $0 --project ~/my-project --uninstall # Remove from project"
}
run_installer "$@"
if [ "$INSTALL_MODE" = "global" ]; then
echo "Skills installed globally. They will be available in all Gemini CLI sessions."
else
echo "Skills installed to project. They will be available when working in this project."
fi
echo ""
print_try_message