config

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 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