Pdftk has been been around for many years, and does exactly the same things. Why reinvent the wheel?
Not sure if this particular library is an improvement, but even if it serves nothing but the author’s enjoyment, or education, it’s a win.
And it’s natural to then build a cli tool on top of the library they already made.