Skip to content

Commit

Permalink
move cli to bin folder
Browse files Browse the repository at this point in the history
  • Loading branch information
balaclark committed Nov 19, 2013
1 parent eb725b1 commit 585b562
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli.js → bin/mhtml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict';
#!/usr/bin/env node

var fs = require('fs');
var path = require('path');
var program = require('commander');
var glob = require('glob');
var mhtml = require(__dirname + '/mhtml');
var mhtml = require(__dirname + '/../mhtml');

program
.version(require(__dirname + '/package').version)
.version(require(__dirname + '/../package').version)
.option('-e, --extract [value]', 'Extract MTHML archive / folder of MHTML archives')
.option('-o, --output [value]', 'Output destination (defaults to same folder as the source file)')
.option('-f, --force', 'Delete the existing output folder before extracting')
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"directories": {
"example": "example"
},
"bin": {
"mhtml": "./bin/mhtml"
},
"scripts": {
"test": "make test"
},
Expand Down

0 comments on commit 585b562

Please sign in to comment.