File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,16 +92,16 @@ select_mode() {
9292
9393install_copy () {
9494 info " Installing OpenCode Framework (copy mode)..."
95-
95+
9696 temp_dir=$( mktemp -d)
9797 git clone --depth 1 " $REPO_URL " " $temp_dir /opencode-core"
9898 mv " $temp_dir /opencode-core" .opencode
9999 rm -rf " $temp_dir "
100-
100+
101101 if [[ -d " .opencode/.git" ]]; then
102102 rm -rf " .opencode/.git"
103103 fi
104-
104+
105105 success " Framework installed to .opencode/"
106106}
107107
@@ -119,30 +119,31 @@ create_directories() {
119119
120120main () {
121121 banner
122-
122+
123123 check_git
124124 check_uv
125125 check_opencode
126126 check_not_installed
127127 check_git_clean
128-
128+
129129 mode=$( select_mode)
130-
130+
131131 echo " "
132132 case " $mode " in
133133 copy) install_copy ;;
134134 link) install_link ;;
135135 esac
136-
136+
137137 create_directories
138-
138+
139139 echo " "
140140 echo -e " ${GREEN} ════════════════════════════════════════════════════════${NC} "
141141 echo -e " ${GREEN} Installation complete!${NC} "
142142 echo -e " ${GREEN} ════════════════════════════════════════════════════════${NC} "
143143 echo " "
144144 echo -e " Next steps:"
145- echo -e " ${CYAN} opencode /onboard${NC} - Get started with your project"
145+ echo -e " ${CYAN} opencode /help${NC} - Learn how to use this framework"
146+ echo -e " ${CYAN} opencode /onboard${NC} - Get started with your project"
146147 echo " "
147148 if [[ " $mode " == " link" ]]; then
148149 echo -e " To update framework later:"
You can’t perform that action at this time.
0 commit comments