Skip to content

Commit

Permalink
Forgot to add the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 26, 2019
1 parent bfcdf66 commit 000c855
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env node
'use strict';
const createXo = require('.');

createXo({
args: process.argv.slice(2)
});
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
"scripts": {
"test": "xo && ava"
},
"bin": "cli.js",
"files": [
"index.js"
"index.js",
"cli.js"
],
"keywords": [
"init",
Expand Down

0 comments on commit 000c855

Please sign in to comment.