Flowhub is pretty old at this point, and hasn't been seriously updated in
several years.
In the meantime, many of its dependencies have progressed --- while Flowhub is
stuck on pre-1.0 builds of them!
This is as good a time as any to update those dependencies and refactor the
entire script to make it a little more robust, and a little easier to extend
and test in the future.
Flowhub is pretty old at this point, and hasn't been seriously updated in several years.
In the meantime, many of its dependencies have progressed --- while Flowhub is stuck on pre-1.0 builds of them!
This is as good a time as any to update those dependencies and refactor the entire script to make it a little more robust, and a little easier to extend and test in the future.