scripts

package
v0.33.1-sc-m5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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

type ScriptResult struct {
	cadence.Value
}

func (*ScriptResult) JSON

func (r *ScriptResult) JSON() interface{}

func (*ScriptResult) Oneliner

func (r *ScriptResult) Oneliner() string

func (*ScriptResult) String

func (r *ScriptResult) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL