Documentation
¶
Index ¶
- Constants
- Variables
- func CLIFlags(envPrefix string, category string) []cli.Flag
- func CLINetworkFlag(envPrefix string, category string) cli.Flag
- func CLIOverrideFlags(envPrefix string, category string) []cli.Flag
- func CLIRollupConfigFlag(envPrefix string, category string) cli.Flag
- func CheckRequiredXor(ctx cliiface.Context) error
- func OverrideEnvVar(envPrefix string, fork forks.Name) []string
- func OverrideName(f forks.Name) string
- type PathFlag
- type TestConfig
Constants ¶
View Source
const ( RollupConfigFlagName = "rollup.config" NetworkFlagName = "network" )
Variables ¶
OverridableForks lists all forks that can be overridden via CLI flags or env vars. It's all mainline forks from Canyon onwards, plus all optional forks.
Functions ¶
func CLIOverrideFlags ¶ added in v1.16.2
func CheckRequiredXor ¶
func OverrideEnvVar ¶ added in v1.16.2
func OverrideName ¶ added in v1.16.2
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)
type TestConfig ¶ added in v1.13.4
func ReadTestConfig ¶ added in v1.13.4
func ReadTestConfig() TestConfig
Click to show internal directories.
Click to hide internal directories.