deploy extracted funcs
@@ -40,7 +40,10 @@ var DeployCommand = &command.Command{
Example: "flow project deploy --network testnet",
},
Flags: &deployFlags,
- RunS: func(
+ RunS: deploy,
+}
+
+func deploy(
cmd *cobra.Command,
args []string,
readerWriter flowkit.ReaderWriter,
@@ -54,7 +57,6 @@ var DeployCommand = &command.Command{
}
return &DeployResult{c}, nil
- },
}
// DeployResult result structure
