Hacker News new | ask | show | jobs
by htr0waway2 45 days ago
> Scripting p4 is a nightmare

This is why I wish more command line tools were split into a library that does most of the work and a cli module for purely user interaction. Parsing stdout seems so unnecessary and could be avoided if a program could simply import a library.

1 comments

There are various language specific wrappers for the API - the Python one is good, and now there is a Go one too.