summaryrefslogtreecommitdiff
path: root/cmd/domain.go
diff options
context:
space:
mode:
authorMDK <[email protected]>2023-10-21 18:53:38 +0800
committerMDK <[email protected]>2023-10-21 18:53:38 +0800
commiteb65009ae20dfc7115133b46cdf3846ee54ec666 (patch)
treeebb07538ead0b360d865b5520564b738a782f2d1 /cmd/domain.go
parent4c63d78e4e42aece5e5eaa6e111e7d5fc20aabb8 (diff)
query command added
Diffstat (limited to 'cmd/domain.go')
-rw-r--r--cmd/domain.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/cmd/domain.go b/cmd/domain.go
deleted file mode 100644
index 85a7644..0000000
--- a/cmd/domain.go
+++ /dev/null
@@ -1,25 +0,0 @@
-package cmd
-
-import (
- "github.com/spf13/cobra"
-)
-
-var input string
-var output string
-var domainCmd = &cobra.Command{
- Use: "domain",
- Short: "query the ip and nameserver information",
- Long: "query the ip and nameserver information",
- Run: getDomainInfo,
-}
-
-func getDomainInfo(cmd *cobra.Command, args []string) {
-
-}
-
-func init() {
- domainCmd.Flags().StringVarP(&input, "input", "i", "", "")
- domainCmd.Flags().StringVarP(&output, "output", "o", "", "")
- domainCmd.MarkFlagsRequiredTogether("input", "output")
- rootCmd.AddCommand(domainCmd)
-}