@@ -695,7 +695,9 @@ toDocsProblemReport problem context =
697data Install
697data Install
698− = InstallNoProject
698+ = InstallNoOutline
699+ | InstallBadOutline Outline
700+ | InstallBadRegistry RegistryProblem
699 | InstallNoArgs FilePath
701 | InstallNoArgs FilePath
700 | InstallNoOnlineSolution
702 | InstallNoOnlineSolution
701 | InstallNoOfflineSolution
703 | InstallNoOfflineSolution
@@ -708,13 +710,20 @@ data Install
708installToReport :: Install -> Help.Report
710installToReport :: Install -> Help.Report
709installToReport exit =
711installToReport exit =
710 case exit of
712 case exit of
711− InstallNoProject ->
713+ InstallNoOutline ->
712 Help.report "NEW PROJECT?" Nothing
714 Help.report "NEW PROJECT?" Nothing
713 "Are you trying to start a new project? Try this command instead:"
715 "Are you trying to start a new project? Try this command instead:"
714 [ D.indent 4 $ D.green "elm init"
716 [ D.indent 4 $ D.green "elm init"
715 , D.reflow "It will help you get started!"
717 , D.reflow "It will help you get started!"
720+ InstallBadOutline outline ->
721+ toOutlineReport outline
723+ InstallBadRegistry problem ->
724+ toRegistryProblemReport "PROBLEM LOADING PACKAGE LIST" problem $
725+ "I need the list of published packages to figure out how to install things"
718 InstallNoArgs elmHome ->
727 InstallNoArgs elmHome ->
719 Help.report "INSTALL WHAT?" Nothing
728 Help.report "INSTALL WHAT?" Nothing
720 "I am expecting commands like:"
729 "I am expecting commands like:"