manage

package
v1.13.3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Commands = cli.Commands{
	&cli.Command{
		Name:  "add-game-type",
		Usage: "adds a new game type to the chain",
		Flags: append([]cli.Flag{
			deployer.L1RPCURLFlag,
			deployer.ArtifactsLocatorFlag,
			ConfigFlag,
		}, oplog.CLIFlags(deployer.EnvVarPrefix)...),
		Action: AddGameTypeCLI,
	},
}
View Source
var (
	ConfigFlag = &cli.StringFlag{
		Name:  "config",
		Usage: "path to the config file",
	}
)

Functions

func AddGameTypeCLI

func AddGameTypeCLI(cliCtx *cli.Context) error

Types

type AddGameTypeConfig

type AddGameTypeConfig struct {
	L1RPCUrl         string
	Logger           log.Logger
	ArtifactsLocator *artifacts.Locator
	Input            opcm.AddGameTypeInput
	CacheDir         string
}

func (*AddGameTypeConfig) Check

func (c *AddGameTypeConfig) Check() error

Jump to

Keyboard shortcuts

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