Skip to content

Commit 9615184

Browse files
committed
removed the subs and emails subcommands
1 parent a5f592f commit 9615184

File tree

4 files changed

+0
-545
lines changed

4 files changed

+0
-545
lines changed

cmd/amass/emails.go

Lines changed: 0 additions & 180 deletions
This file was deleted.

cmd/amass/help.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ func runHelpCommand(clArgs []string) {
2121
switch clArgs[0] {
2222
case "enum":
2323
runEnumCommand(help)
24-
case "subs":
25-
runSubsCommand(help)
26-
case "emails":
27-
runEmailsCommand(help)
2824
default:
2925
commandUsage(mainUsageMsg, helpCommand, helpBuf)
3026
return

cmd/amass/main.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ func main() {
106106
switch os.Args[1] {
107107
case "enum":
108108
runEnumCommand(os.Args[2:])
109-
case "subs":
110-
runSubsCommand(os.Args[2:])
111-
case "emails":
112-
runEmailsCommand(os.Args[2:])
113109
case "help":
114110
runHelpCommand(os.Args[2:])
115111
default:
@@ -153,7 +149,6 @@ func makeAssets(config *config.Config) []*et.Asset {
153149
for i, asset := range assets {
154150
asset.Name = fmt.Sprintf("asset#%d", i+1)
155151
}
156-
157152
return assets
158153
}
159154

@@ -240,7 +235,6 @@ func convertScopeToAssets(scope *config.Scope) []*et.Asset {
240235
}
241236
assets = append(assets, &et.Asset{Data: data})
242237
}
243-
244238
return assets
245239
}
246240

@@ -270,7 +264,6 @@ func setupFileLogger(dir, logfile string) *slog.Logger {
270264
fmt.Fprintf(os.Stderr, "Failed to open the log file: %v", err)
271265
return nil
272266
}
273-
274267
return slog.New(slog.NewJSONHandler(f, nil))
275268
}
276269

0 commit comments

Comments
 (0)