flags

package
v0.0.0-...-011bec4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RollupConfigFlagName    = "rollup.config"
	NetworkFlagName         = "network"
	CanyonOverrideFlagName  = "override.canyon"
	DeltaOverrideFlagName   = "override.delta"
	EcotoneOverrideFlagName = "override.ecotone"
	FjordOverrideFlagName   = "override.fjord"
)

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

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

func (f *PathFlag) Clone() any

func (*PathFlag) Dir

func (f *PathFlag) Dir() string

func (*PathFlag) Filename

func (f *PathFlag) Filename() string

func (*PathFlag) Set

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

func (*PathFlag) String

func (f *PathFlag) String() string

Jump to

Keyboard shortcuts

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