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.
Click to show internal directories.
Click to hide internal directories.