tilt
tilt copied to clipboard
Make cli module & methods public
Describe the Feature You Want
The ability to access the tilt cli module & Cobra commands programmatically. Exactly how it already is with ctlptl!
Current Behavior
The cli module is internal and its methods are private.
Why Do You Want This?
It would be cool to be able to build new tools that combine Tilt with other tools from the ecosystem programmatically, without having to call the external tilt binary. Exactly how it already is with ctlptl and many other tools!
can you talk a little bit more about why you don't want to run tilt as an external binary?
Tilt runs its own apiserver (https://github.com/tilt-dev/tilt-apiserver), so embedding it isn't quite as simple calling a function. But there are rich apis for interoperating with it from a separate process.