Use cli-middleware.

Middleware execution library extracted from this module.
0.8.231