mow.cli added support for before and after interceptors (see jawher/mow.cli#12 and jawher/mow.cli#15), which are a perfect match for what every command in pkt.io/admin was doing, mainly initialising a logger and closing it afterwards.
Note however that this won't build until pki-io's fork of mow.cli is updated to at least 5a708d497f63791effeb817ab7501e6aa80f74af, or to the current HEAD of master as is done in the Vendors file.
Updated the SupplyChain file in the build repo to include mow.cli and ran supplychain.sh, so now the pki.io fork is up to date. Test is now passing, so merging into development. Thanks for the amazing PR :)
mow.cli
added support for before and after interceptors (see jawher/mow.cli#12 and jawher/mow.cli#15), which are a perfect match for what every command inpkt.io/admin
was doing, mainly initialising a logger and closing it afterwards.The relevant section on interceptors in mow.cli's README file
Note however that this won't build until pki-io's fork of mow.cli is updated to at least 5a708d497f63791effeb817ab7501e6aa80f74af, or to the current HEAD of master as is done in the
Vendors
file.