erworben

package
v0.0.0-...-381c4e2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OptionDebug = 1 << iota
)

Variables

This section is empty.

Functions

func MakeFormatterActionNames

func MakeFormatterActionNames() *formatterActionNames

Types

type Akte

type Akte struct {
	Defaults        Defaults                                `toml:"defaults"`
	HiddenEtiketten []kennung.Etikett                       `toml:"hidden-etiketten"`
	FileExtensions  file_extensions.FileExtensions          `toml:"file-extensions"`
	RemoteScripts   map[string]script_config.RemoteScript   `toml:"remote-scripts"`
	Actions         map[string]script_config.ScriptConfig   `toml:"actions,omitempty"`
	PrintOptions    erworben_cli_print_options.PrintOptions `toml:"cli-output"`
	Tools           erworben_tools.Tools                    `toml:"tools"`
	Filters         map[string]string                       `toml:"filters"`
}

func Default

func Default(defaultTyp kennung.Typ) (k Akte)

func (Akte) Equals

func (a Akte) Equals(b Akte) bool

func (Akte) GetFilters

func (a Akte) GetFilters() map[string]string

func (Akte) GetGattung

func (Akte) GetGattung() schnittstellen.GattungLike

func (*Akte) Reset

func (a *Akte) Reset()

func (*Akte) ResetWith

func (a *Akte) ResetWith(b *Akte)

type Cli

type Cli struct {
	BasePath string

	Debug         debug.Options
	Verbose       bool
	Todo          bool
	DryRun        bool
	Complete      bool
	ChrestEnabled bool

	IncludeCwd    bool
	IncludeHidden bool

	AllowMissingHinweis  bool
	CheckoutCacheEnabled bool
	PredictableHinweisen bool
	NewOrganize          bool

	PrintOptions erworben_cli_print_options.PrintOptions
	ToolOptions  erworben_tools.Tools
	// contains filtered or unexported fields
}

func DefaultCli

func DefaultCli() (c Cli)

func (*Cli) AddToFlags

func (c *Cli) AddToFlags(f *flag.FlagSet)

func (*Cli) ApplyPrintOptionsKonfig

func (c *Cli) ApplyPrintOptionsKonfig(
	po erworben_cli_print_options.PrintOptions,
)

func (Cli) UsePredictableHinweisen

func (c Cli) UsePredictableHinweisen() bool

func (Cli) UsePrintEtiketten

func (c Cli) UsePrintEtiketten() bool

func (Cli) UsePrintTime

func (c Cli) UsePrintTime() bool

type Defaults

type Defaults struct {
	Typ       kennung.Typ       `toml:"typ"`
	Etiketten []kennung.Etikett `toml:"etiketten"`
}

type Options

type Options int

type RemoteScriptFile

type RemoteScriptFile struct {
	Path string
}

func (RemoteScriptFile) Cmd

func (s RemoteScriptFile) Cmd(args ...string) (c *exec.Cmd, err error)

Jump to

Keyboard shortcuts

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