mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-11 04:00:05 +00:00
20 lines
437 B
Go
20 lines
437 B
Go
|
package featureconfig
|
||
|
|
||
|
import "github.com/urfave/cli/v2"
|
||
|
|
||
|
// Deprecated flags list.
|
||
|
const deprecatedUsage = "DEPRECATED. DO NOT USE."
|
||
|
|
||
|
var (
|
||
|
// To deprecate a feature flag, first copy the example below, then insert deprecated flag in `deprecatedFlags`.
|
||
|
exampleDeprecatedFeatureFlag = &cli.StringFlag{
|
||
|
Name: "name",
|
||
|
Usage: deprecatedUsage,
|
||
|
Hidden: true,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
var deprecatedFlags = []cli.Flag{
|
||
|
exampleDeprecatedFeatureFlag,
|
||
|
}
|