Make a CLI autheticate with Redwoodjs

Howdy Folks,

I am building an app with Redwood at the moment. Planning on having a CLI that will need to authenticate with Redwood dbAuth. Has anyone here done anything like that before? If you have do you have any tips on how to approach this?