Skip to content

Commit

Permalink
removed the subs and emails subcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Oct 17, 2024
1 parent 74a16f7 commit eb56643
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 545 deletions.
180 changes: 0 additions & 180 deletions cmd/amass/emails.go

This file was deleted.

4 changes: 0 additions & 4 deletions cmd/amass/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ func runHelpCommand(clArgs []string) {
switch clArgs[0] {
case "enum":
runEnumCommand(help)
case "subs":
runSubsCommand(help)
case "emails":
runEmailsCommand(help)
default:
commandUsage(mainUsageMsg, helpCommand, helpBuf)
return
Expand Down
7 changes: 0 additions & 7 deletions cmd/amass/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ func main() {
switch os.Args[1] {
case "enum":
runEnumCommand(os.Args[2:])
case "subs":
runSubsCommand(os.Args[2:])
case "emails":
runEmailsCommand(os.Args[2:])
case "help":
runHelpCommand(os.Args[2:])
default:
Expand Down Expand Up @@ -153,7 +149,6 @@ func makeAssets(config *config.Config) []*et.Asset {
for i, asset := range assets {
asset.Name = fmt.Sprintf("asset#%d", i+1)
}

return assets
}

Expand Down Expand Up @@ -240,7 +235,6 @@ func convertScopeToAssets(scope *config.Scope) []*et.Asset {
}
assets = append(assets, &et.Asset{Data: data})
}

return assets
}

Expand Down Expand Up @@ -270,7 +264,6 @@ func setupFileLogger(dir, logfile string) *slog.Logger {
fmt.Fprintf(os.Stderr, "Failed to open the log file: %v", err)
return nil
}

return slog.New(slog.NewJSONHandler(f, nil))
}

Expand Down
Loading

0 comments on commit eb56643

Please sign in to comment.