subcmds

package
v0.49.7 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAllRules

func NewAllRules(
	option config.RulesOption,
	fixMode bool,
	autoDisableType autodisable.PlacementType,
	verbose bool,
	plugins []shared.RuleSet,
) (internalrule.Rules, error)

NewAllRules creates new all rules.

Types

type PluginFlag added in v0.16.0

type PluginFlag struct {
	// contains filtered or unexported fields
}

PluginFlag manages a flag for plugins.

func (*PluginFlag) BuildPlugins added in v0.17.1

func (f *PluginFlag) BuildPlugins(verbose bool) ([]shared.RuleSet, error)

BuildPlugins builds all plugins.

func (*PluginFlag) Set added in v0.16.0

func (f *PluginFlag) Set(value string) error

Set implements flag.Value.

func (*PluginFlag) String added in v0.16.0

func (f *PluginFlag) String() string

String implements flag.Value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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