How can I test/write queries in a terminal (Query Interface) for Lucky Framework
(similar to rails console
in RoR)
Asked
Active
Viewed 210 times
3
-
Since crystal doesn't have a repl like `irb` at present, I guess there is no such thing in `Lucky`. – halfelf Nov 21 '18 at 02:41
-
Not clear but maybe they expect you to do browser tests? https://luckyframework.org/guides/browser-tests/ – rogerdpack Nov 29 '18 at 07:47
1 Answers
2
The lucky exec
command will open a text editor in which you can type commands like in rails c.
It will compile your instructions and output the result.

guglielmocg
- 29
- 5
-
1ps the interactive console for crystal is icr https://github.com/crystal-community/icr – guglielmocg Oct 05 '20 at 13:28