fflag

package
v0.33.13 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

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
)
const (
	Default FFlag = 0
)

feature flags package.

func FF

func FF() FFlag

func (FFlag) IsSet

func (f FFlag) IsSet(flag FFlag) bool

Jump to

Keyboard shortcuts

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