display_success_message

in lib/tasks/migrate_to_mise.rake [91:111]


  def display_success_message
    GDK::Output.success('Migration from asdf to mise is almost complete!')
    GDK::Output.puts

    if @updated_shell_configs && !@updated_shell_configs.empty?
      GDK::Output.notice('Shell config files updated:')
      GDK::Output.puts("   - #{@updated_shell_configs.join("\n   - ")}")
      GDK::Output.puts
      GDK::Output.notice('Backups of your original shell config files were created:')
      GDK::Output.puts("   - #{@backup_paths.join("\n   - ")}")
      GDK::Output.puts
    end

    GDK::Output.notice('Next steps:')
    GDK::Output.notice('1. Please restart your terminal.')
    GDK::Output.notice('2. Afterward, run this command:')
    GDK::Output.puts('   gdk reconfigure && gdk update')
    GDK::Output.puts
    GDK::Output.notice('If you encounter any issues with mise, see our troubleshooting guide: https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/troubleshooting/mise.md')
  end