quick

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DeployCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "deploy",
		Short:   "Deploy all project contracts",
		Example: "flow deploy",
		GroupID: "project",
	},
	Flags: project.DeployCommand.Flags,
	RunS:  project.DeployCommand.RunS,
}
View Source
var InitCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "init",
		Short:   "Initialize a new configuration",
		Example: "flow project init",
		GroupID: "project",
	},
	Flags: &config.InitFlag,
	Run:   config.Initialise,
}
View Source
var RunCommand = &command.Command{
	Cmd: &cobra.Command{
		Use:     "run",
		Short:   "Start emulator and deploy all project contracts",
		Example: "flow run",
		GroupID: "project",
	},
	Flags: &runFlags,
	Run: func(
		_ []string,
		_ command.GlobalFlags,
		_ output.Logger,
		_ flowkit.ReaderWriter,
		_ flowkit.Services,
	) (command.Result, error) {
		fmt.Println("⚠️Deprecation notice: Use 'flow dev' command.")
		return &runResult{}, nil
	},
}

RunCommand This command will act as an alias for running the emulator and deploying the contracts

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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