Skip to content

Commit

Permalink
fix: sub--command store, stock found when installed globally #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephigenia committed Sep 2, 2020
1 parent 47acb4e commit da8bc52
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Empty file modified source/cli-stock.js
100644 → 100755
Empty file.
Empty file modified source/cli-stores.js
100644 → 100755
Empty file.
8 changes: 6 additions & 2 deletions source/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ let pkg = require('./../package.json');
program
.version(pkg.version)
.description(pkg.description)
.command('stock', 'check the availability of one or multiple products')
.command('stores', 'list stores in a specific country')
.command('stock', 'check the availability of one or multiple products', {
executableFile: 'cli-stock',
})
.command('stores', 'list stores in a specific country', {
executableFile: 'cli-stores',
})
.parse(process.argv);

0 comments on commit da8bc52

Please sign in to comment.