File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,8 +165,17 @@ source "%s"
165165 return fmt .Errorf ("failed to write to shell config file: %w" , err )
166166 }
167167
168- cmd .Println (successStyle .Render (fmt .Sprintf ("Added Major CLI configuration to %s" , configFile )))
169- cmd .Println ("Please restart your shell or run 'source " + configFile + "' to start using 'major'" )
168+ boxStyle := lipgloss .NewStyle ().
169+ Border (lipgloss .RoundedBorder ()).
170+ BorderForeground (lipgloss .Color ("#00FF00" )).
171+ Padding (1 , 2 ).
172+ MarginTop (1 )
173+
174+ msg := fmt .Sprintf ("%s\n \n Please restart your shell or run:\n \n %s\n \n to start using 'major'" ,
175+ successStyle .Render (fmt .Sprintf ("Added Major CLI configuration to %s" , configFile )),
176+ lipgloss .NewStyle ().Bold (true ).Foreground (lipgloss .Color ("#87D7FF" )).Render ("source " + configFile ))
177+
178+ cmd .Println (boxStyle .Render (msg ))
170179
171180 return nil
172181}
Original file line number Diff line number Diff line change @@ -161,7 +161,5 @@ print_success "Successfully installed ${BINARY} v${VERSION}"
161161
162162# Print welcome message
163163printf " \n${BOLD}${GREEN} 🎉 Welcome to Major!${RESET} \n\n"
164- printf " Get started with these commands :\n\n"
164+ printf " Get started by running :\n\n"
165165printf " ${BOLD} major user login${RESET} Log in to your Major account\n"
166- printf " ${BOLD} major app create${RESET} Create a new application\n"
167- printf " ${BOLD} major --help${RESET} View all available commands\n"
You can’t perform that action at this time.
0 commit comments