config

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose = false

Functions

This section is empty.

Types

type Config

type Config struct {
	IsRollback bool
	EnvPath    string
	EnvFile    string
	Verbose    bool

	FirstRun bool
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig() *Config

func NewFromConfig

func NewFromConfig(c Config) *Config

func (*Config) GetEnvFullPath

func (c *Config) GetEnvFullPath() string

func (*Config) InitByFlags

func (c *Config) InitByFlags()

func (*Config) InitEnv

func (c *Config) InitEnv()

Jump to

Keyboard shortcuts

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