Documentation
¶
Overview ¶
Copyright © 2024 Josh Holbrook <josh.holbrook@gmail.com>
Index ¶
- Variables
- type Config
- func (conf *Config) EditEnvFile() error
- func (conf *Config) Env() map[string]string
- func (conf *Config) EnvFileExists() bool
- func (conf *Config) EnvFilePath() string
- func (conf *Config) Environ() []string
- func (conf *Config) Refresh() error
- func (conf *Config) Run(args ...string) error
- func (conf *Config) TaskFileExists() bool
- func (conf *Config) TaskFilePath() string
- func (conf *Config) WriteEnvFile() error
- func (conf *Config) WriteTaskFile() error
Constants ¶
This section is empty.
Variables ¶
View Source
var Templates = map[string]string{ "main.conf.tmpl": string(mainConfTmpl), "start.conf.tmpl": string(startConfTmpl), }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Bin string ConfigHome string LogLevel string DosBoxBin string SevenZipBin string DataHome string StateHome string CacheHome string DiskHome string LinkHome string PackageHome string PackageStageHome string ArtifactHome string DownloadHome string Registry string DiskA string DiskB string DiskC string Editor *tools.Editor Pager *tools.Pager }
func (*Config) EditEnvFile ¶
func (*Config) EnvFileExists ¶
func (*Config) EnvFilePath ¶
func (*Config) TaskFileExists ¶
func (*Config) TaskFilePath ¶
func (*Config) WriteEnvFile ¶
func (*Config) WriteTaskFile ¶
Click to show internal directories.
Click to hide internal directories.