Skip to main content


Usage: chr repl [OPTIONS]

Run rell commands in shell

╭─ Configuration Properties ───────────────────────────────────────────────────────────────────────────────────────────╮
│ -s, --settings=SETTINGS Alternate path for project settings file
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ -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 chromia.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.