diff --git a/bridge/cmd/debug/debug.go b/bridge/cmd/debug/debug.go new file mode 100644 index 00000000..f3d4c1d8 --- /dev/null +++ b/bridge/cmd/debug/debug.go @@ -0,0 +1,12 @@ +package debug + +import "github.com/spf13/cobra" + +var DebugCmd = &cobra.Command{ + Use: "debug", + Short: "Debugging utilities", +} + +func init() { + DebugCmd.AddCommand(decodeVaaCmd) +} diff --git a/bridge/cmd/debug/vaa.go b/bridge/cmd/debug/vaa.go index dac456ec..b96ebff0 100644 --- a/bridge/cmd/debug/vaa.go +++ b/bridge/cmd/debug/vaa.go @@ -9,11 +9,6 @@ import ( "strings" ) -var DebugCmd = &cobra.Command{ - Use: "debug", - Short: "Debugging utilities", -} - var decodeVaaCmd = &cobra.Command{ Use: "decode-vaa [DATA]", Short: "Decode a hex-encoded VAA", @@ -34,7 +29,3 @@ var decodeVaaCmd = &cobra.Command{ } }, } - -func init() { - DebugCmd.AddCommand(decodeVaaCmd) -}