OSDN Git Service

Thanos did someting
[bytom/vapor.git] / cmd / vaporcli / commands / net.go
diff --git a/cmd/vaporcli/commands/net.go b/cmd/vaporcli/commands/net.go
deleted file mode 100644 (file)
index 0f75f60..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-package commands
-
-import (
-       "os"
-
-       "github.com/spf13/cobra"
-
-       "github.com/vapor/util"
-)
-
-var netInfoCmd = &cobra.Command{
-       Use:   "net-info",
-       Short: "Print the summary of network",
-       Args:  cobra.NoArgs,
-       Run: func(cmd *cobra.Command, args []string) {
-               data, exitCode := util.ClientCall("/net-info")
-               if exitCode != util.Success {
-                       os.Exit(exitCode)
-               }
-               printJSON(data)
-       },
-}