Skip to main content
Version: 2.18.x

repl


pants repl [args]

Open a REPL with the specified code loadable.

Backend: pants.core

Config section: [repl]

Basic options

shell

--repl-shell=<str>
PANTS_REPL_SHELL
default: None

Override the automatically-detected REPL program for the target(s) specified.

restartable

--[no-]repl-restartable
PANTS_REPL_RESTARTABLE
default: False

True if the REPL should be restarted if its inputs have changed.

Advanced options

None

Deprecated options

None