flags

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVarPrefix = "OP_TEST_SEQUENCER"

Variables

View Source
var (
	BuildersConfigFlag = &cli.StringFlag{
		Name:    "builders.config",
		Usage:   "Config file to builder(s) to load",
		EnvVars: prefixEnvVars("BUILDERS_CONFIG"),
		Value:   config.DefaultConfigYaml,
	}
	RPCJWTSecretFlag = &cli.StringFlag{
		Name:      "rpc.jwt-secret",
		Usage:     "Path to JWT secret key for sequencer admin RPC.",
		EnvVars:   prefixEnvVars("RPC_JWT_SECRET"),
		TakesFile: true,
	}
	MockRunFlag = &cli.BoolFlag{
		Name:    "mock-run",
		Usage:   "Mock run, no actual backend used, just presenting the service",
		EnvVars: prefixEnvVars("MOCK_RUN"),
		Hidden:  true,
	}
)
View Source
var Flags []cli.Flag

Flags contains the list of configuration options available to the binary.

Functions

func CheckRequired

func CheckRequired(ctx *cli.Context) error

func ConfigFromCLI

func ConfigFromCLI(ctx *cli.Context, version string) *config.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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