fflag

package
v0.32.24 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Env     string = "TOPAZ_FFLAG"
	Default FFlag  = 0
)

feature flags package.

Variables

This section is empty.

Functions

func Enabled

func Enabled(flag FFlag) bool

func Init

func Init()

func UnHideCmds

func UnHideCmds(ctx *kong.Context)

func UnHideFlags

func UnHideFlags(ctx *kong.Context)

Types

type FFlag

type FFlag uint64
const (
	Editor FFlag = 1 << iota
	Prompter
)

func F

func F(s string) FFlag

func FF

func FF() FFlag

func (FFlag) Base

func (f FFlag) Base() uint64

func (FFlag) IsSet

func (f FFlag) IsSet(flag FFlag) bool

func (FFlag) String

func (f FFlag) String() string

Jump to

Keyboard shortcuts

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