env

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const UserAgent = "gitlab.com/jiri.hajek/eztoggl (jiri@jirihajek.xyz)"

UserAgent is the value used in the User-Agent header for API calls

Variables

View Source
var BaseConfigPath string

BaseConfigPath stores path to directory with `config.json` that is being used.

View Source
var Config configJSON

Config stores configuration from `config.json`.

View Source
var Flag flags

Flag represents a set of CLI flags set by the user.

View Source
var OutputDirectory string

OutputDirectory stores the output directory for generated files.

Functions

func Initialize

func Initialize() error

Initialize initializes `Flag` and `Config` with parsed CLI flags and `config.json`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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