UNPKG

fin

Version:

Developer CLI for Fin. Fin is the easiest way to launch your own SaaS.

18 lines (15 loc) 337 B
'use strict' const auth = require('../auth') const handleError = require('../handle-error') module.exports = (program, client) => { program .command('logout') .description('Logs out of your account') .action(async () => { try { auth.signout() } catch (err) { handleError(err) } }) }