package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jan 3, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
DfPath string `toml:"dotfiles_path"`
Log bool `toml:"log"`
LogPath string `toml:"log_path"`
Dotfiles []Dotfile `toml:"dotfile"`
Variables map[string]Variable `toml:"variable"`
}
Config is user configuration
type Dotfile struct {
Name string `toml:"name"`
Steps []Step `toml:"step"`
}
type Step struct {
Name string `toml:"name"`
Force bool `toml:"force"`
Backup bool `toml:"backup"`
Src string `toml:"src"`
Target string `toml:"target"`
Type string `toml:"type"`
Cmd string `toml:"cmd"`
}
type Variable struct {
Var string `toml:"var"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.