configuration

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	APP_NAME    = "grm"
	APP_VERSION = "__dev__"
	APP_DESC    = "A CLI tool to manage and access your local git repositories"
	APP_MODULE  = "gitlab.com/lordinvader/grm"

	BUILD_TIME = "N/A"
	GO_VERSION = "N/A"
)

Functions

This section is empty.

Types

type Environment

type Environment struct {
	BasePath         string `env:"GRM_HOME" envDefault:"${HOME}/.grm" envExpand:"true"`
	ProjectsFileName string `envDefault:"projects.json"`
	ConfigFileName   string `envDefault:"config.json"`
}

func LoadEnvironment

func LoadEnvironment() Environment

Jump to

Keyboard shortcuts

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