Skip to content

Commit

Permalink
fix: update exported function as well
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 1, 2018
1 parent df9669d commit 5dae31f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import CAC from './CAC'

const cac = () => new CAC()
/**
* @param name The program name to display in help and version message
*/
const cac = (name = '') => new CAC(name)

export = cac

0 comments on commit 5dae31f

Please sign in to comment.