calm-balloon-9141204/22/2020, 3:08 PM
hundreds-father-40404/22/2020, 3:21 PM
1) ./pants options was removed?Ah, this is because we have not yet ported the goal to V2. We’ll make that a priority to port. In the meantime, you can run
. That will temporarily turn back on the V1 implementation 2) Ipython is still supported, only activated differently. There are no longer “tasks” in V2 like
./pants --v1 options
. Instead, all options live in either the goal or dedicated subsystems like
. So, in V2, you activate Ipython via
(you can either use the file name or its target name) You can set this in `pants.toml`:
./pants repl --shell='ipython' app.py
3) The full screen thing is something we are actively working on to only use part of the screen. In the meantime, feel free to use
[repl] shell = "ipython"
if you don’t want to see that. Then you’ll only get what gets permanently logged and won’t see the intermediate work that Pants is doing.
calm-balloon-9141204/22/2020, 3:59 PM
hundreds-father-40404/22/2020, 4:00 PM
also what about the other prints when using run?Not through an option, but certainly we could revisit if we should even be writing to the screen
. and then
. We could change that in Pants’ code. The UI for V2 is very open to feedback at this point. What would be most helpful to you? It sounds like you need the option to have zero output, correct? Do you anticipate always wanting to run with the equivalent of
or do you sometimes like output?
calm-balloon-9141204/22/2020, 4:06 PM