Skip to content

Overview

@saflib/commander is a library for adding CLI commands to your package's bin field. It uses commander under the hood.

Currently it's pretty lightweight, just providing a convenience function for providing @saflib/node context and reporters to your CLI commands.

See the saf-workflow CLI implementation for an example of how to set up a command in a SAF package.

TODO: Add workflows