calm-balloon-91412
04/22/2020, 3:08 PMhundreds-father-404
04/22/2020, 3:21 PM1) ./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
./pants --v1 options
. 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 repl.py
and test.pytest
. Instead, all options live in either the goal or dedicated subsystems like ipython
and pytest
. So, in V2, you activate Ipython via ./pants repl --shell='ipython' app.py
(you can either use the file name or its target name)
You can set this in `pants.toml`:
[repl]
shell = "ipython"
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 --no-v2-ui
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-91412
04/22/2020, 3:59 PMhundreds-father-404
04/22/2020, 4:00 PM[repl]
! Sorryalso 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
running target
. and then ran successfully
. 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 --quiet
or do you sometimes like output?calm-balloon-91412
04/22/2020, 4:06 PM