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 CheckRequiredXor ¶
func OverrideName ¶
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)
type TestConfig ¶
func ReadTestConfig ¶
func ReadTestConfig() TestConfig
Click to show internal directories.
Click to hide internal directories.