File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ program
4646particularly ESM-related module resolution issues.`
4747 )
4848 . argument (
49- "< file-or-directory> " ,
50- "the packed .tgz or directory containing package.json; required unless --from-npm is set "
49+ "[ file-directory- or-package-spec] " ,
50+ "the packed .tgz, or directory containing package.json with --pack, or package spec with --from-npm"
5151 )
5252 . option ( "-P, --pack" , "run `npm pack` in the specified directory and delete the resulting .tgz file afterwards" )
5353 . option ( "-p, --from-npm" , "read from the npm registry instead of a local file" )
@@ -60,7 +60,7 @@ particularly ESM-related module resolution issues.`
6060 . option ( "--emoji, --no-emoji" , "whether to use any emojis" )
6161 . option ( "--color, --no-color" , "whether to use any colors (the FORCE_COLOR env variable is also available)" )
6262 . option ( "--config-path <path>" , "path to config file (default: ./.attw.json)" )
63- . action ( async ( fileOrDirectory : string ) => {
63+ . action ( async ( fileOrDirectory = "." ) => {
6464 const opts = program . opts < Opts > ( ) ;
6565 await readConfig ( program , opts . configPath ) ;
6666 opts . ignoreRules = opts . ignoreRules ?. map (
You can’t perform that action at this time.
0 commit comments