Skip to content

Commit

Permalink
fix(cli-utils): missalignment on the default config values nesting
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 authored and soykje committed Jun 27, 2024
1 parent 0c5300c commit 79729f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
11 changes: 0 additions & 11 deletions .spark-ui.cjs

This file was deleted.

14 changes: 5 additions & 9 deletions packages/utils/cli/bin/spark-scan.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,11 @@ program
.option('-c, --configuration <config>', 'configuration file route')
.option('-o, --output <output>', 'output file route')
.option('-v, --verbose', 'output log information', false)
.option('-d, --details', 'output information about each match', config.adoption.details)
.option('-s, --sort <sort>', 'sort results (count or alphabetical)', config.adoption.sort)
.option('-dir, --directory <directory>', 'directory to parse', config.adoption.directory)
.option(
'-ext, --extensions <extensions...>',
'file extensions to parse',
config.adoption.extensions
)
.option('-i, --imports <imports...>', 'import patterns to identify', config.adoption.imports)
.option('-d, --details', 'output information about each match', config.details)
.option('-s, --sort <sort>', 'sort results (count or alphabetical)', config.sort)
.option('-dir, --directory <directory>', 'directory to parse', config.directory)
.option('-ext, --extensions <extensions...>', 'file extensions to parse', config.extensions)
.option('-i, --imports <imports...>', 'import patterns to identify', config.imports)
.action(adoption)

program.parse(process.argv)

0 comments on commit 79729f7

Please sign in to comment.