options

package
v0.0.0-...-595fe73 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: GPL-2.0 Imports: 4 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 {
	Args                 []string `json:",omitempty"`
	Command              *string  `json:",omitempty"`
	Debug                *bool    `json:",omitempty"`
	DryRun               *bool    `json:",omitempty"`
	GlobalConfigFilepath *string  `json:",omitempty"`
	LocalConfigFilepath  *string  `json:",omitempty"`
}

type Options

type Options struct {
	Args                 []string
	Command              string
	DryRun               bool
	Debug                bool
	GlobalConfigFilepath string
	LocalConfigFilepath  string
}

func Get

func Get() (*Options, error)

All gives back all settings

Jump to

Keyboard shortcuts

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