flags

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2025 License: MIT Imports: 7 Imported by: 10

Documentation

Index

Constants

View Source
const (
	RollupConfigFlagName               = "rollup.config"
	NetworkFlagName                    = "network"
	CanyonOverrideFlagName             = "override.canyon"
	DeltaOverrideFlagName              = "override.delta"
	EcotoneOverrideFlagName            = "override.ecotone"
	FjordOverrideFlagName              = "override.fjord"
	GraniteOverrideFlagName            = "override.granite"
	HoloceneOverrideFlagName           = "override.holocene"
	PectraBlobScheduleOverrideFlagName = "override.pectrablobschedule"
)

Variables

This section is empty.

Functions

func CLIFlags

func CLIFlags(envPrefix string, category string) []cli.Flag

func CLINetworkFlag

func CLINetworkFlag(envPrefix string, category string) cli.Flag

func CLIRollupConfigFlag

func CLIRollupConfigFlag(envPrefix string, category string) cli.Flag

func CheckRequiredXor

func CheckRequiredXor(ctx *cli.Context) error

Types

type PathFlag added in v1.5.0

type PathFlag struct {
	// contains filtered or unexported fields
}

PathFlag accepts path to some file or directory and splits it into dirPath and filename (both can be empty)

func (*PathFlag) Clone added in v1.5.0

func (f *PathFlag) Clone() any

func (*PathFlag) Dir added in v1.5.0

func (f *PathFlag) Dir() string

func (*PathFlag) Filename added in v1.5.0

func (f *PathFlag) Filename() string

func (*PathFlag) Set added in v1.5.0

func (f *PathFlag) Set(path string) error

func (*PathFlag) String added in v1.5.0

func (f *PathFlag) String() string

Jump to

Keyboard shortcuts

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