Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "project", Short: "Manage your Cadence project", TraverseChildren: true, }
View Source
var DeployCommand = &command.Command{ Cmd: &cobra.Command{ Use: "deploy", Short: "Deploy Cadence contracts", Example: "flow project deploy --network testnet", }, Flags: &deployFlags, Run: func( cmd *cobra.Command, args []string, globalFlags command.GlobalFlags, services *services.Services, ) (command.Result, error) { c, err := services.Project.Deploy(globalFlags.Network, deployFlags.Update) if err != nil { return nil, err } return &DeployResult{c}, nil }, }
View Source
var EmulatorCommand *cobra.Command
Functions ¶
This section is empty.
Types ¶
type DeployResult ¶
type DeployResult struct {
// contains filtered or unexported fields
}
DeployResult result structure
func (*DeployResult) Oneliner ¶
func (r *DeployResult) Oneliner() string
Oneliner show result as one liner grep friendly
func (*DeployResult) String ¶
func (r *DeployResult) String() string
String convert result to string
Click to show internal directories.
Click to hide internal directories.