Is there a way for me to run Pants commands via a ...
# general
c
Is there a way for me to run Pants commands via a Python client? For example, Iā€™d like to run
./pants fmt ::
from within a Python script using the
pants
library instead of via
subprocess.Popen(...)
ā“ 1
b
Right now subprocess is the way to go
šŸ‘ 1
Pants has a lot of moving parts internally, so a stable Python API is likely a ways away