Skip to main content


Usage: chr repl [OPTIONS]

Run rell commands in shell

-s, --settings SETTINGS Alternate path for the project settings file
-m, --module MODULE Name of module
--sql-log Log sql expressions
--history-file PATH Save command history to this file
--use-db If a session towards the configured database should
be established
-h, --help Show this message and exit

You can use the repl command (chr repl) to run specific Rell methods in the shell, which can be suitable for troubleshooting.

chr repl --settings config.yml --module main --use-db

Now, you'll be in a Rell environment in your terminal, with your defined queries and operations from your module available so you can run your program, such as hello_world().

You can chain the -a or --args arguments if you have multiple arguments for your method. So if the method set_name in the main.rell file had two arguments, it would be set_name --args foo --args bar.