Typically on first thought I would associate REPL with command line hence went with this approach.
Good idea nevertheless!