4 ms·
In the spirit of Rails, does Blitz include a repl analogous to irb? Something that automatically loads in your models and maybe config? It’s been a while sin
by loosetypes 6y ago
In the spirit of Rails, does Blitz include a repl analogous to irb? Something that automatically loads in your models and maybe config?
It’s been a while since I’ve used Rails but that interactive environment was my favorite way to get familiar with activerecord models.
- atraac 6y agoI actually think that RedwoodJS is more in spirit of Rails than Blitz and it does include a lot of boilerplate generation. But yeah, Blitz does have a CLI as well: https://blitzjs.com/docs/cli-overview https://blitzjs.com/docs/cli-overview
- loosetypes 6y agoThanks. I’m referring more to a REPL environment for executing inline javascript against your project rather than a CLI of prebaked commands. So something like creating an instance of an existing model definition and trying out its methods instead of CLI for running a database migration or generating a stubbed model definition.
- leodriesch 6y agoIt does have that aswell: https://blitzjs.com/docs/cli-console https://blitzjs.com/docs/cli-console
- loosetypes 6y agoAha! Thanks Now I’m certainly going to be trying Blitz.
- flybayer 6y agoI'm genuinely curious in what ways you feel Redwood is more in the spirit of Rails than Blitz? Maybe there's some things we can improve.