@paa1997/metho 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paa1997/metho",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Automated recon pipeline: subfinder → gau → filter → katana → findsomething",
5
5
  "type": "module",
6
6
  "bin": {
@@ -859,7 +859,7 @@ def main():
859
859
  help="Output file path. Default: <list_file>_secrets.txt when --list is used.",
860
860
  )
861
861
  parser.add_argument(
862
- "--html-output",
862
+ "--html",
863
863
  nargs="?",
864
864
  const="",
865
865
  help="Generate HTML report. Optional path (defaults to <output>.html).",
@@ -893,13 +893,13 @@ def main():
893
893
  list_stem = os.path.splitext(os.path.basename(args.list.rstrip(os.sep)))[0] or "scan"
894
894
  args.output = f"{list_stem}_secrets.txt"
895
895
 
896
- html_requested = args.html_output is not None
896
+ html_requested = args.html is not None
897
897
  html_output_path: Optional[str] = None
898
898
  if html_requested:
899
899
  if not args.output:
900
- parser.error("--html-output requires --output to be set.")
900
+ parser.error("--html requires --output to be set.")
901
901
  base, _ = os.path.splitext(args.output)
902
- html_output_path = args.html_output if args.html_output else (base or args.output) + ".html"
902
+ html_output_path = args.html if args.html else (base or args.output) + ".html"
903
903
 
904
904
  # Reset globals per run
905
905
  STOP_EVENT.clear()