Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "scripts", Short: "Utilities to execute scripts", TraverseChildren: true, }
View Source
var ExecuteCommand = &command.Command{ Cmd: &cobra.Command{ Use: "execute <filename> [<argument> <argument> ...]", Short: "Execute a script", Example: `flow scripts execute script.cdc "Meow" "Woof"`, Args: cobra.MinimumNArgs(1), }, Flags: &scriptFlags, Run: execute, }
Functions ¶
This section is empty.
Types ¶
type ScriptResult ¶
func (*ScriptResult) JSON ¶
func (r *ScriptResult) JSON() interface{}
func (*ScriptResult) Oneliner ¶
func (r *ScriptResult) Oneliner() string
func (*ScriptResult) String ¶
func (r *ScriptResult) String() string
Click to show internal directories.
Click to hide internal directories.