Hi Shivansh,
Unfortunately, the on-premise the feature is currently only available as a CLI command via yarn. Since the yarn command is essentially invoking the on-premise script using
ts-node, you could potentially run the feature programmatically by calling the yarn command or using ts-node to directly call the file with your arguments (i.e. a bash script).
Hope that helps!
The CCF Team at Thoughtworks