Is the pants CLI (arg parsing, option handling, et...
# development
w
Is the pants CLI (arg parsing, option handling, etc) done in Rust or Python or both?
e
Both. Rust only implements a subset though and that was not touch since maybe May of 2021 IIRC.
There is a little used rust pantsd client that needs to handle parsing bootstrap options - that's the driver on the Rust side.
w
👍 Great thanks - that's kinda what I thought, but wasn't sure about my understanding
h
The eventual plan is for it all to be in Rust...
w
The eventual plan is for it all to be in Rust
Ah, okay, in that direction. And all extensibility via GoalRules and such?
e
I think all that would be transparent. The Python APIs for registering options would just happen to be functions exported from the Rust code.