Skip to content

Commit 17c3aad

Browse files
authored
Merge pull request #279 from gren-lang/introduce-backend-frontend
Clarify error message when invoking backend directly.
2 parents ca3775c + 8885d3c commit 17c3aad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

terminal/Main.hs

+6-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ main =
6464
Right (PackageDiffGlobal pkg from to) ->
6565
Diff.run $ Diff.GlobalInquiry pkg from to
6666
_ ->
67-
putStrLn "Expected exactly 1 argument: a json-encoded command"
67+
do
68+
putStrLn "Expected exactly 1 argument: a json-encoded command."
69+
putStrLn ""
70+
putStrLn
71+
"It looks like you are trying to run Gren's internal backend directly.\
72+
\ To properly install Gren, see https://gren-lang.org/install"
6873

6974
data Command
7075
= Init InitFlags

0 commit comments

Comments
 (0)