Skip to main content
Version: 2.16 (deprecated)

repl


pants repl [args]

Open a REPL with the specified code loadable.

Backend: pants.core

Config section: [repl]

Basic options

restartable

--[no-]repl-restartable
PANTS_REPL_RESTARTABLE
pants.toml
[repl]
restartable = <bool>
default: False

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

shell

--repl-shell=<str>
PANTS_REPL_SHELL
pants.toml
[repl]
shell = <str>
default: None

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

Advanced options

None

Deprecated options

None