cmd

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute executes the root command

Types

type CommonFlags added in v0.3.1

type CommonFlags struct {
	Mute    bool
	Verbose bool
	Fuzzy   bool
	Holder  string
	Year    string
	License string
	Tmpl    string
	RawTmpl string
	Skip    []string
	SPDXIDs string
}

type Config

type Config struct {
	Nwa NwaConfig `yaml:"nwa"`
}

type NwaConfig

type NwaConfig struct {
	Cmd     string   `yaml:"cmd"`
	Holder  string   `yaml:"holder"`
	Year    string   `yaml:"year"`
	License string   `yaml:"license"`
	Mute    bool     `yaml:"mute"`
	Verbose bool     `yaml:"verbose"`
	Fuzzy   bool     `yaml:"fuzzy"`
	Path    []string `yaml:"path"`
	Skip    []string `yaml:"skip"`
	SPDXIDs string   `yaml:"spdxids"`
	Tmpl    string   `yaml:"tmpl"`
	RawTmpl string   `yaml:"rawtmpl"`
}

Jump to

Keyboard shortcuts

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