Skip to content

Commit

Permalink
Merge pull request #27 from ersel/fix-options
Browse files Browse the repository at this point in the history
fix(options): make options programmatic usage friendly
  • Loading branch information
ersel authored Sep 10, 2019
2 parents 2be80c2 + a46eb0c commit 3cbf352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prog.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const nayliasAction = require('./cli/naylias');
prog.version(packageJSON.version);

const GLOBAL_OPTIONS = [
['--targetDir <path>', 'Target scan directory', prog.STRING, '.'],
['--projectRoot <path>', 'Project root path', prog.STRING, process.cwd()],
['--target-dir <path>', 'Target scan directory', prog.STRING, '.'],
['--project-root <path>', 'Project root path', prog.STRING, process.cwd()],
['--ext <extensions>', 'File extensions to be matched', prog.LIST, 'js'],
[
'--incl <glob-patterns>',
Expand Down

0 comments on commit 3cbf352

Please sign in to comment.