diff --git a/cmd/shogo/commands/domain.go b/cmd/shogo/commands/domain.go deleted file mode 100644 index 69f5ae6..0000000 --- a/cmd/shogo/commands/domain.go +++ /dev/null @@ -1,34 +0,0 @@ -package commands - -import ( - "fmt" - - "github.com/spf13/cobra" - - "git.tcp.direct/perp/shogo/internal/shodan" - "git.tcp.direct/perp/shogo/internal/utils" -) - -// Domain command -var domainCmd = &cobra.Command{ - Use: "domain", - Short: "Return domain information", - Example: "domain \ndomain ...", - Args: cobra.MinimumNArgs(1), - Run: func(_ *cobra.Command, args []string) { - utils.CheckColor() - - // Loop through args - if len(args) > 1 { - for index := range args { - shodan.Domain(args[index]) - // Print newline per argument - if index != len(args)-1 { - fmt.Println("") - } - } - } else { - shodan.Domain(args[0]) - } - }, -}