diff --git a/cli.js b/cli.js new file mode 100755 index 0000000..6075c37 --- /dev/null +++ b/cli.js @@ -0,0 +1,7 @@ +#!/usr/bin/env node +'use strict'; +const createXo = require('.'); + +createXo({ + args: process.argv.slice(2) +}); diff --git a/package.json b/package.json index 2bad6e8..e4d6629 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,10 @@ "scripts": { "test": "xo && ava" }, + "bin": "cli.js", "files": [ - "index.js" + "index.js", + "cli.js" ], "keywords": [ "init",