command interface
@@ -2,6 +2,7 @@ package cmd
import (
"github.com/onflow/flow-cli/flow/cli"
+ "github.com/onflow/flow-cli/sharedlib/services"
"github.com/psiemens/sconfig"
"github.com/spf13/cobra"
)
@@ -9,6 +10,7 @@ import (
type Command interface {
GetCmd() *cobra.Command
SetFlags() *sconfig.Config
- ValidateFlags() error
- Run(*cobra.Command, []string, *cli.Project) (Result, error)
+ Run(*cobra.Command, []string, *cli.Project, services.Service) (Result, error)
+ // ValidateFlags
+ // ValidateArgs
}
