Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DevCommand = &command.Command{ Cmd: &cobra.Command{ Use: "dev", Short: "Build your Flow project", Args: cobra.ExactArgs(0), Example: "flow dev", GroupID: "super", }, Flags: &devFlags, RunS: dev, }
View Source
var FlixCmd = &cobra.Command{ Use: "flix", Short: "execute, generate, package", TraverseChildren: true, GroupID: "tools", }
View Source
var GenerateCommand = &cobra.Command{ Use: "generate", Short: "Generate template files for common Cadence code", GroupID: "super", Aliases: []string{"g"}, }
View Source
var GenerateContractCommand = &command.Command{ Cmd: &cobra.Command{ Use: "contract <name>", Short: "Generate Cadence smart contract template", Example: "flow generate contract HelloWorld", Args: cobra.ExactArgs(1), }, Flags: &generateFlags, RunS: generateContract, }
View Source
var GenerateScriptCommand = &command.Command{ Cmd: &cobra.Command{ Use: "script <name>", Short: "Generate a Cadence script template", Example: "flow generate script SomeScript", Args: cobra.ExactArgs(1), }, Flags: &generateFlags, RunS: generateScript, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.