events extracted funcs
@@ -42,7 +42,10 @@ var GetCommand = &command.Command{
Example: "flow events get A.1654653399040a61.FlowToken.TokensDeposited 11559500 11559600",
},
Flags: &generateFlag,
- Run: func(
+ Run: get,
+}
+
+func get(
cmd *cobra.Command,
args []string,
readerWriter flowkit.ReaderWriter,
@@ -68,5 +71,4 @@ var GetCommand = &command.Command{
}
return &EventResult{BlockEvents: events}, nil
- },
}
