config_mutable_cli

package
v0.0.0-...-791c77c Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BasePath string

	Debug   debug.Options
	Verbose bool
	Quiet   bool
	Todo    bool

	IgnoreHookErrors bool
	Hooks            string

	CheckoutCacheEnabled bool
	PredictableZettelIds bool

	PrintOptions options_print.V0
	ToolOptions  options_tools.Options

	descriptions.Description
	// contains filtered or unexported fields
}

func Default

func Default() (c Config)

func (*Config) ApplyPrintOptionsConfig

func (c *Config) ApplyPrintOptionsConfig(
	po options_print.V0,
)

func (Config) GetCLIFlags

func (c Config) GetCLIFlags() (flags []string)

TODO add support for all flags

func (Config) IsDryRun

func (c Config) IsDryRun() bool

func (*Config) SetDryRun

func (c *Config) SetDryRun(v bool)

func (*Config) SetFlagSet

func (c *Config) SetFlagSet(flagSet *flag.FlagSet)

func (Config) UsePredictableZettelIds

func (c Config) UsePredictableZettelIds() bool

func (Config) UsePrintTags

func (c Config) UsePrintTags() bool

func (Config) UsePrintTime

func (c Config) UsePrintTime() bool

Jump to

Keyboard shortcuts

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